Lines Matching refs:COL_NUM
68 #define COL_NUM (50) /* NUM in COLUMN */ macro
70 #define deltaCOL (2 * DMP_PI / (COL_NUM - 1))
73 GLfloat pos[ROW_NUM * COL_NUM][3];
74 GLfloat nor[ROW_NUM * COL_NUM][3];
76 GLushort s_Idx[COL_NUM * (ROW_NUM - 1) * 2];
99 for(int col = 0; col < COL_NUM; col++) in LoadSphere()
102 …s_Vtx.pos[row * COL_NUM + col][0] =0.5f * (GLfloat)nn::math::SinRad(deltaROW * row) * nn::math::Co… in LoadSphere()
103 s_Vtx.pos[row * COL_NUM + col][1] =0.5f * (GLfloat)nn::math::CosRad(deltaROW * row); in LoadSphere()
104 …s_Vtx.pos[row * COL_NUM + col][2] =0.5f * (GLfloat)nn::math::SinRad(deltaROW * row) * nn::math::Si… in LoadSphere()
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()
115 #define __INDEX(ROW, COL) ((ROW) * COL_NUM + (COL)) in LoadSphere()
116 for(int col = 0; col < COL_NUM; col++) in LoadSphere()
124 s_ObjectInfo.idxcnt[OBJECT_SPHERE] = COL_NUM * (ROW_NUM - 1) * 2; in LoadSphere()
125 s_ObjectInfo.vtxcnt[OBJECT_SPHERE] = ROW_NUM * COL_NUM; in LoadSphere()