REFLECT.C File Reference

Go to the source code of this file.

Defines

#define MODULE_MIRRORS
#define US   UNSIGNED
#define UC   unsigned char
#define SBS   shadow_buffer_size
#define TOLL1   10.0
#define TOLL2   0.0

Functions

void Free_Mirror_On_Ground (void)
short Mirror_In_Ground (void)
void Add_Ground_Mirror (long scanline, long col, vector p, unsigned char *R, unsigned char *G, unsigned char *B)
void Free_Lights_Shadows (void)
void SetLightShadow (long id)
void PointInShadow (vector p, long id, double *intensity)

Variables

double spec_pow [16][max_spec+1]
double Rip_Freq
short mirror_ground = 0


Define Documentation

#define MODULE_MIRRORS

Definition at line 3 of file REFLECT.C.

#define US   UNSIGNED

Definition at line 31 of file REFLECT.C.

#define UC   unsigned char

Definition at line 32 of file REFLECT.C.

#define SBS   shadow_buffer_size

Definition at line 472 of file REFLECT.C.

Referenced by PointInShadow().

#define TOLL1   10.0

Definition at line 477 of file REFLECT.C.

#define TOLL2   0.0

Definition at line 478 of file REFLECT.C.


Function Documentation

void Free_Mirror_On_Ground ( void   ) 

Definition at line 161 of file REFLECT.C.

References mirror_ground, and X__Free.

Referenced by render().

short Mirror_In_Ground ( void   ) 

void Free_Lights_Shadows ( void   ) 

void SetLightShadow ( long  id  ) 


Variable Documentation

double spec_pow[16][max_spec+1]

Definition at line 32 of file MATERIAL.C.

double Rip_Freq

Definition at line 40 of file TEXTURES.C.

short mirror_ground = 0

Definition at line 28 of file REFLECT.C.

Referenced by Free_Mirror_On_Ground(), and Mirror_In_Ground().


Generated on Sun Apr 27 14:20:17 2014 for OpenFX by  doxygen 1.5.6