Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_DrawerUniform.cpp72 nw::math::VEC4 texCoords[ TexMapMax * 2 ] ) const in CalcTextureCoords()
108 nw::math::VEC4* pTexCoord = &texCoords[ i ]; in CalcTextureCoords()
125 nw::math::VEC4* pTexCoord = &texCoords[ i + TexMapMax ]; in CalcTextureCoords()
146 nw::math::VEC4* pTexCoord = &texCoords[ i ]; in CalcTextureCoords()
155 nw::math::VEC4* pTexCoord = &texCoords[ i + TexMapMax ]; in CalcTextureCoords()
168 if ( texCoords[ i ].x != texCoords[ i + TexMapMax ].x || // 左辺がそろっているかを判定 in CalcTextureCoords()
169 texCoords[ i ].z != texCoords[ i + TexMapMax ].z || // 右辺がそろっているかを判定 in CalcTextureCoords()
170 texCoords[ i ].y != texCoords[ i + TexMapMax ].w || // 上辺がそろっているかを判定 in CalcTextureCoords()
171 texCoords[ i ].w != texCoords[ i + TexMapMax ].y ) // 下辺がそろっているかを判定 in CalcTextureCoords()
182 Drawer::SetUpTextureCoords( const nw::math::VEC4 texCoords[ TexMapMax * 2 ], in SetUpTextureCoords()
[all …]
Dlyt_Common.cpp161 static const VEC2 texCoords[] = in SetSize() local
168 NW_COMPILER_ASSERT(ARRAY_LENGTH(texCoords) == VERTEX_MAX); in SetSize()
174 m_pData[j][i] = texCoords[i]; in SetSize()
256 const VEC2 (*texCoords)[VERTEX_MAX], in DrawQuad()
279 if (texCoordNum > 0 && texCoords != NULL) in DrawQuad()
284 if (0 <= src && texCoords != NULL && src < texCoordNum) in DrawQuad()
287 glUniform4f(loc + 0, texCoords[src][0].x, texCoords[src][0].y, 0.0f, 1.0f); in DrawQuad()
288 glUniform4f(loc + 1, texCoords[src][1].x, texCoords[src][1].y, 0.0f, 1.0f); in DrawQuad()
289 glUniform4f(loc + 2, texCoords[src][2].x, texCoords[src][2].y, 0.0f, 1.0f); in DrawQuad()
290 glUniform4f(loc + 3, texCoords[src][3].x, texCoords[src][3].y, 0.0f, 1.0f); in DrawQuad()
/NW4C-2.0.3/include/nw/lyt/
Dlyt_Drawer.h335 void SetUpTextureCoords( const nw::math::VEC4 texCoords[ TexMapMax * 2 ],
363 nw::math::VEC4 texCoords[ TexMapMax * 2 ] ) const;
Dlyt_Common.h172 const math::VEC2 (*texCoords)[VERTEX_MAX] = NULL,