Blender  V2.59
Functions | Variables
rayobject_empty.cpp File Reference
#include "MEM_guardedalloc.h"
#include "rayobject.h"

Go to the source code of this file.

Functions

static int RE_rayobject_empty_intersect (RayObject *o, Isect *is)
static void RE_rayobject_empty_free (RayObject *o)
static void RE_rayobject_empty_bb (RayObject *o, float *min, float *max)
static float RE_rayobject_empty_cost (RayObject *o)
static void RE_rayobject_empty_hint_bb (RayObject *o, RayHint *hint, float *min, float *max)
RayObjectRE_rayobject_empty_create ()

Variables

static RayObjectAPI empty_api
static RayObject empty_raytree = { &empty_api, {0, 0} }

Detailed Description

Definition in file rayobject_empty.cpp.


Function Documentation

static void RE_rayobject_empty_bb ( RayObject o,
float *  min,
float *  max 
) [static]

Definition at line 50 of file rayobject_empty.cpp.

static float RE_rayobject_empty_cost ( RayObject o) [static]

Definition at line 55 of file rayobject_empty.cpp.

RayObject* RE_rayobject_empty_create ( void  )

Definition at line 76 of file rayobject_empty.cpp.

References RE_rayobject_unalignRayAPI.

Referenced by makeraytree_single().

static void RE_rayobject_empty_free ( RayObject o) [static]

Definition at line 46 of file rayobject_empty.cpp.

static void RE_rayobject_empty_hint_bb ( RayObject o,
RayHint hint,
float *  min,
float *  max 
) [static]

Definition at line 60 of file rayobject_empty.cpp.

static int RE_rayobject_empty_intersect ( RayObject o,
Isect is 
) [static]

Definition at line 41 of file rayobject_empty.cpp.


Variable Documentation

RayObject empty_raytree = { &empty_api, {0, 0} } [static]

Definition at line 74 of file rayobject_empty.cpp.