Searched refs:z1 (Results 1 – 5 of 5) sorted by relevance
| /RvlSDK-3.2.2/build/demos/gxdemo/src/TexGen/ |
| D | spheremap.c | 89 f32 r = 1.0f, r1, r2, z1, z2; in genMapSphere() local 139 z1 = r*cosf(M_PI*(i-1)/nlat); in genMapSphere() 143 n1z = 2*z1*z1-1.0F; // reflection vector z in genMapSphere() 147 if (fabs(z1) < 0.01f || fabs(z2) < 0.01f) in genMapSphere() 161 GXPosition3f32(n1x, n1y, z1); in genMapSphere() 162 GXNormal3f32(2*n1x*z1, 2*n1y*z1, n1z); // refl vector in genMapSphere()
|
| D | parabolicmap.c | 119 f32 r = 1.0f, r1, r2, z1, z2; in genMapSphere() local 168 z1 = r*cosf(M_PI*(i-1)/nlat); in genMapSphere() 172 n1z = 2*z1*z1; // parabolic reflection vector z in genMapSphere() 176 if (fabs(z1) < 0.01f || fabs(z2) < 0.01f) in genMapSphere() 190 GXPosition3f32(n1x, n1y, z1); in genMapSphere() 191 GXNormal3f32(-2*n1x*z1, -2*n1y*z1, n1z); // refl vector in genMapSphere()
|
| D | tg-shadow3.c | 680 s8 x, y, z0, z1; in DrawFloor() local 719 z1 = (s8)(( x == NUM_GRIDS ) ? 0 : FloorElvTbl[y][x]); in DrawFloor() 720 n = (u8)(( z0 > z1 ) ? 0 : 1); in DrawFloor() 726 GXPosition3s8(x, (s8)(y+1), z1); in DrawFloor() 728 GXPosition3s8(x, y, z1); in DrawFloor() 742 z1 = (s8)(( y == NUM_GRIDS ) ? 0 : FloorElvTbl[y][x]); in DrawFloor() 743 n = (u8)(( z0 > z1 ) ? 2 : 3); in DrawFloor() 747 GXPosition3s8(x, y, z1); in DrawFloor() 749 GXPosition3s8((s8)(x+1), y, z1); in DrawFloor()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Culling/ |
| D | cul-faces.c | 506 s32 xs, zs, x0, z0, x1, z1; in myDrawArrow() local 527 z1 = (s32)(- c * SIN30 + s * COS30 + 0.5f ); in myDrawArrow() 532 GXPosition3s16( (s16)( xs + x1 ), RPOSY, (s16)( zs + z1 ) ); in myDrawArrow()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/ |
| D | cmn-model.c | 329 f32 z, z0, z1, t; in cmModel2_Anim() local 362 z1 = (float)( obj2_height[4][y ] + obj2_height[5][y ] ); in cmModel2_Anim() 363 z = ( z0 * (1.0f - t) + z1 * t ) / 2.0f + 30.0f; in cmModel2_Anim()
|