Home
last modified time | relevance | path

Searched refs:texCoords (Results 1 – 4 of 4) sorted by relevance

/NW4C-1.3.3/sources/libraries/lyt/
Dlyt_DrawerUniform.cpp70 nw::math::VEC4 texCoords[ TexMapMax * 2 ] ) const in CalcTextureCoords()
106 nw::math::VEC4* pTexCoord = &texCoords[ i ]; in CalcTextureCoords()
123 nw::math::VEC4* pTexCoord = &texCoords[ i + TexMapMax ]; in CalcTextureCoords()
144 nw::math::VEC4* pTexCoord = &texCoords[ i ]; in CalcTextureCoords()
153 nw::math::VEC4* pTexCoord = &texCoords[ i + TexMapMax ]; in CalcTextureCoords()
166 if ( texCoords[ i ].x != texCoords[ i + TexMapMax ].x || // 左辺がそろっているかを判定 in CalcTextureCoords()
167 texCoords[ i ].z != texCoords[ i + TexMapMax ].z || // 右辺がそろっているかを判定 in CalcTextureCoords()
168 texCoords[ i ].y != texCoords[ i + TexMapMax ].w || // 上辺がそろっているかを判定 in CalcTextureCoords()
169 texCoords[ i ].w != texCoords[ i + TexMapMax ].y ) // 下辺がそろっているかを判定 in CalcTextureCoords()
180 Drawer::SetUpTextureCoords( const nw::math::VEC4 texCoords[ TexMapMax * 2 ], in SetUpTextureCoords()
[all …]
Dlyt_Common.cpp159 static const VEC2 texCoords[] = in SetSize() local
166 NW_COMPILER_ASSERT(ARRAY_LENGTH(texCoords) == VERTEX_MAX); in SetSize()
172 m_pData[j][i] = texCoords[i]; in SetSize()
254 const VEC2 (*texCoords)[VERTEX_MAX], in DrawQuad()
277 if (texCoordNum > 0 && texCoords != NULL) in DrawQuad()
282 if (0 <= src && texCoords != NULL && src < texCoordNum) in DrawQuad()
285 glUniform4f(loc + 0, texCoords[src][0].x, texCoords[src][0].y, 0.0f, 1.0f); in DrawQuad()
286 glUniform4f(loc + 1, texCoords[src][1].x, texCoords[src][1].y, 0.0f, 1.0f); in DrawQuad()
287 glUniform4f(loc + 2, texCoords[src][2].x, texCoords[src][2].y, 0.0f, 1.0f); in DrawQuad()
288 glUniform4f(loc + 3, texCoords[src][3].x, texCoords[src][3].y, 0.0f, 1.0f); in DrawQuad()
/NW4C-1.3.3/include/nw/lyt/
Dlyt_Drawer.h332 void SetUpTextureCoords( const nw::math::VEC4 texCoords[ TexMapMax * 2 ],
360 nw::math::VEC4 texCoords[ TexMapMax * 2 ] ) const;
Dlyt_Common.h170 const math::VEC2 (*texCoords)[VERTEX_MAX] = NULL,