Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions | Variables

rayobject_instance.cpp File Reference

#include <assert.h>
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "rayintersection.h"
#include "rayobject.h"

Go to the source code of this file.

Classes

struct  InstanceRayObject

Defines

#define RE_COST_INSTANCE   (1.0f)

Typedefs

typedef struct InstanceRayObject InstanceRayObject

Functions

static int RE_rayobject_instance_intersect (RayObject *o, Isect *isec)
static void RE_rayobject_instance_free (RayObject *o)
static void RE_rayobject_instance_bb (RayObject *o, float *min, float *max)
static float RE_rayobject_instance_cost (RayObject *o)
static void RE_rayobject_instance_hint_bb (RayObject *UNUSED(o), RayHint *UNUSED(hint), float *UNUSED(min), float *UNUSED(max))
RayObjectRE_rayobject_instance_create (RayObject *target, float transform[][4], void *ob, void *target_ob)

Variables

static RayObjectAPI instance_api

Detailed Description

Definition in file rayobject_instance.cpp.


Define Documentation

#define RE_COST_INSTANCE   (1.0f)

Definition at line 43 of file rayobject_instance.cpp.

Referenced by RE_rayobject_instance_cost().


Typedef Documentation


Function Documentation

static void RE_rayobject_instance_bb ( RayObject o,
float *  min,
float *  max 
) [static]
static float RE_rayobject_instance_cost ( RayObject o) [static]
RayObject* RE_rayobject_instance_create ( RayObject target,
float  transform[][4],
void *  ob,
void *  target_ob 
)
static void RE_rayobject_instance_free ( RayObject o) [static]

Definition at line 180 of file rayobject_instance.cpp.

References MEM_freeN().

static void RE_rayobject_instance_hint_bb ( RayObject UNUSEDo,
RayHint UNUSEDhint,
float *  UNUSEDmin,
float *  UNUSEDmax 
) [static]

Definition at line 50 of file rayobject_instance.cpp.

static int RE_rayobject_instance_intersect ( RayObject o,
Isect isec 
) [static]

Variable Documentation