STRUCT.H

Go to the documentation of this file.
00001 /* --
00002 OpenFX version 2.xx - Modelling, Animation and Rendering Package
00003 -- */
00004 
00005 /* file STRUCT.H */
00006 
00007 /* always include this in any PostProcessor code                     */
00008 
00009 #define double float    /* The Renderer uses FLOAT real numbers */
00010 
00011 #if __ZTC__ || __SC__
00012 #ifndef max
00013 #define max(a,b)  ( ((a) > (b)) ? (a) : (b) )
00014 #endif
00015 #endif
00016 
00017 #ifndef PI
00018 #define PI 3.1415926
00019 #endif
00020 
00021 /* for Windows NT use LocalMemory else use standard C library */
00022 
00023 #include "../common/mem.h"
00024 
00025 typedef double vector[3];
00026 
00027 #include "../render2/light_fsb.h"
00028 
00029 #define NORMAL    0    /* light types */
00030 #define NOSHADOW  1
00031 #define SHADOWS   2
00032 #define SPOTLIGHT 3
00033 #define DUMMYL    4

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