Home
last modified time | relevance | path

Searched refs:NUM_CUBES (Results 1 – 3 of 3) sorted by relevance

/RvlSDK-3.2/build/demos/gxdemo/src/Framebuffer/
Dfrb-bound-box.c32 #define NUM_CUBES 8 macro
76 MyCubeObj cube[NUM_CUBES];
100 #define REG_AMBIENT ColorArray[NUM_CUBES]
101 #define LIGHT_COLOR ColorArray[NUM_CUBES+1]
102 #define BG_COLOR ColorArray[NUM_CUBES+2]
104 static GXColor ColorArray[NUM_CUBES+3] ATTRIBUTE_ALIGN(32) =
119 static Vec CubeIniData[NUM_CUBES*3] =
222 for ( i = 0 ; i < NUM_CUBES ; ++i ) in DrawInit()
289 for ( i = 0 ; i < NUM_CUBES ; ++i ) in AnimTick()
333 for ( i = 0 ; i < NUM_CUBES ; ++i ) in DrawCubes()
Dfrb-copy.c107 #define NUM_CUBES 8 macro
108 #define REG_AMBIENT ColorArray[NUM_CUBES]
109 #define LIGHT_COLOR ColorArray[NUM_CUBES+1]
110 #define BG_COLOR ColorArray[NUM_CUBES+2]
112 static GXColor ColorArray[NUM_CUBES+3] ATTRIBUTE_ALIGN(32) =
127 static Vec CubePosArray[NUM_CUBES] =
139 static f32 CubeDegArray[NUM_CUBES] =
546 GXColor1x8((u8)NUM_CUBES); // Gray in DrawScreenPanel()
548 GXColor1x8((u8)NUM_CUBES); // Gray in DrawScreenPanel()
550 GXColor1x8((u8)NUM_CUBES); // Gray in DrawScreenPanel()
[all …]
/RvlSDK-3.2/build/demos/gddemo/src/
Dgd-indtex-gc.c60 #define NUM_CUBES 4 macro
63 #define NUM_GOBJS (NUM_CUBES+NUM_TORI+NUM_SPHERES)
115 MyCubeObj cube[NUM_CUBES];
169 static Vec CubeIniData[NUM_CUBES*3] =
286 for ( i = 0 ; i < NUM_CUBES ; ++i ) in DrawInit()
375 for ( i = 0 ; i < NUM_CUBES ; ++i ) in AnimTick()
439 GXSetChanMatColor(GX_COLOR0A0, ColorArray[NUM_CUBES+NUM_TORI]); in DrawModels()
449 GXSetChanMatColor(GX_COLOR0A0, ColorArray[NUM_CUBES]); in DrawModels()
459 GXSetChanMatColor(GX_COLOR0A0, ColorArray[NUM_CUBES+1]); in DrawModels()
469 GXSetChanMatColor(GX_COLOR0A0, ColorArray[NUM_CUBES+2]); in DrawModels()
[all …]