Home
last modified time | relevance | path

Searched refs:nor (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingVertex/
DLightingVertex.cpp89 GLfloat nor[ROW_NUM * COL_NUM][3]; member
113 s_Vtx.nor[row * COL_NUM + col][0] =(GLfloat)sin(deltaROW * row) * cos(deltaCOL * col); in LoadSphere()
114 s_Vtx.nor[row * COL_NUM + col][1] =(GLfloat)cos(deltaROW * row); in LoadSphere()
115 s_Vtx.nor[row * COL_NUM + col][2] =(GLfloat)sin(deltaROW * row) * sin(deltaCOL * col); in LoadSphere()
152 GLfloat nor[4][3]; in LoadPlane() member
175 vtx.nor[i][0] = 0.f; in LoadPlane()
176 vtx.nor[i][1] = 1.f; in LoadPlane()
177 vtx.nor[i][2] = 0.f; in LoadPlane()
/CTR-SDK-4.2.7-SampleDemos/demo2/
Dgraphics.cpp74 GLfloat nor[ROW_NUM * COL_NUM][3]; member
106 …s_Vtx.nor[row * COL_NUM + col][0] =0.5f * (GLfloat)nn::math::SinRad(deltaROW * row) * nn::math::Co… in LoadSphere()
107 s_Vtx.nor[row * COL_NUM + col][1] =0.5f * (GLfloat)nn::math::CosRad(deltaROW * row); in LoadSphere()
108 …s_Vtx.nor[row * COL_NUM + col][2] =0.5f * (GLfloat)nn::math::SinRad(deltaROW * row) * nn::math::Si… in LoadSphere()
145 GLfloat nor[4][3]; in LoadPlane() member
168 vtx.nor[i][0] = 0.f; in LoadPlane()
169 vtx.nor[i][1] = 1.f; in LoadPlane()
170 vtx.nor[i][2] = 0.f; in LoadPlane()