/dports/games/egoboo/egoboo-2.8.1/src/game/ |
H A D | font_ttf.c | 52 GLfloat texCoords[4]; member 136 if ( NULL == font || NULL == texCoords ) return -1; in fnt_print_raw() 170 if ( !SDL_GL_uploadSurface( *pptmp, itex, texCoords ) ) in fnt_print_raw() 226 GL_DEBUG( glTexCoord2f )( font->texCoords[0], font->texCoords[1] ); in fnt_drawText_raw() 229 GL_DEBUG( glTexCoord2f )( font->texCoords[2], font->texCoords[1] ); in fnt_drawText_raw() 232 GL_DEBUG( glTexCoord2f )( font->texCoords[2], font->texCoords[3] ); in fnt_drawText_raw() 235 GL_DEBUG( glTexCoord2f )( font->texCoords[0], font->texCoords[3] ); in fnt_drawText_raw() 280 GL_DEBUG( glTexCoord2f )( font->texCoords[0], font->texCoords[1] ); in fnt_drawText() 283 GL_DEBUG( glTexCoord2f )( font->texCoords[2], font->texCoords[1] ); in fnt_drawText() 286 GL_DEBUG( glTexCoord2f )( font->texCoords[2], font->texCoords[3] ); in fnt_drawText() [all …]
|
/dports/games/openmw/openmw-openmw-0.47.0/components/terrain/ |
H A D | chunkmanager.cpp | 89 …metry(float chunkSize, const osg::Vec2f& chunkCenter, const osg::Vec4f& texCoords, CompositeMap& c… in createCompositeMapGeometry() argument 93 …Size/4.f, chunkSize/4.f), osg::Vec4f(texCoords.x() + texCoords.z()/2.f, texCoords.y(), texCoords.z… in createCompositeMapGeometry() 94 …c2f(-chunkSize/4.f, chunkSize/4.f), osg::Vec4f(texCoords.x(), texCoords.y(), texCoords.z()/2.f, te… in createCompositeMapGeometry() 95 …-chunkSize/4.f), osg::Vec4f(texCoords.x() + texCoords.z()/2.f, texCoords.y()+texCoords.w()/2.f, te… in createCompositeMapGeometry() 96 …Size/4.f, -chunkSize/4.f), osg::Vec4f(texCoords.x(), texCoords.y()+texCoords.w()/2.f, texCoords.z(… in createCompositeMapGeometry() 100 float left = texCoords.x()*2.f-1; in createCompositeMapGeometry() 101 float top = texCoords.y()*2.f-1; in createCompositeMapGeometry() 102 float width = texCoords.z()*2.f; in createCompositeMapGeometry() 103 float height = texCoords.w()*2.f; in createCompositeMapGeometry()
|
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/winged_edge/ |
H A D | WingedEdgeBuilder.cpp | 88 const float *texCoords = ifs.texCoords(); in buildWShape() local 178 texCoords, in buildWShape() 295 if (texCoords) { in buildTriangleStrip() 297 Vec2f(texCoords[tindices[nTriangle]], texCoords[tindices[nTriangle] + 1])); in buildTriangleStrip() 299 Vec2f(texCoords[tindices[nTriangle + 1]], texCoords[tindices[nTriangle + 1] + 1])); in buildTriangleStrip() 319 if (texCoords) { in buildTriangleStrip() 321 Vec2f(texCoords[tindices[nTriangle]], texCoords[tindices[nTriangle] + 1])); in buildTriangleStrip() 398 if (texCoords) { in buildTriangles() 400 Vec2f(texCoords[tindices[3 * i]], texCoords[tindices[3 * i] + 1])); in buildTriangles() 402 Vec2f(texCoords[tindices[3 * i + 1]], texCoords[tindices[3 * i + 1] + 1])); in buildTriangles() [all …]
|
/dports/devel/simgear/simgear-2020.3.11/simgear/io/ |
H A D | test_binobj.cxx | 173 std::vector<SGVec2f> texCoords; in test_basic() local 174 generate_tcs(10000, texCoords); in test_basic() 178 basic.set_texcoords(texCoords); in test_basic() 193 compareTexCoords(rd, texCoords); in test_basic() 209 std::vector<SGVec2f> texCoords; in test_many_tcs() local 214 basic.set_texcoords(texCoords); in test_many_tcs() 230 compareTexCoords(rd, texCoords); in test_many_tcs() 247 std::vector<SGVec2f> texCoords; in test_big() local 252 basic.set_texcoords(texCoords); in test_big() 268 compareTexCoords(rd, texCoords); in test_big() [all …]
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/tgdb/ |
H A D | SGTileGeometryBin.hxx | 30 getTexCoord(const std::vector<SGVec2f>& texCoords, const int_list& tc, in getTexCoord() argument 36 return mult(texCoords[tc[0]], tcScale); in getTexCoord() 38 return mult(texCoords[tc[i]], tcScale); in getTexCoord() 60 const std::vector<SGVec2f>& texCoords(obj.get_texcoords()); in addTriangleGeometry() local 81 v0.SetTexCoord( 0, getTexCoord(texCoords, tris_tc[0], tc0Scale, i-2) ); in addTriangleGeometry() 97 v2.SetTexCoord( 0, getTexCoord(texCoords, tris_tc[0], tc0Scale, i) ); in addTriangleGeometry() 114 const std::vector<SGVec2f>& texCoords(obj.get_texcoords()); in addStripGeometry() local 170 const std::vector<SGVec2f>& texCoords(obj.get_texcoords()); in addFanGeometry() local 190 v0.SetTexCoord( 0, getTexCoord(texCoords, fans_tc[0], tc0Scale, 0) ); in addFanGeometry() 198 v1.SetTexCoord( 0, getTexCoord(texCoords, fans_tc[0], tc0Scale, 1) ); in addFanGeometry() [all …]
|
/dports/games/dustrac/DustRacing2D-ae380b8/src/game/MiniCore/src/Graphics/ |
H A D | mcsurface.cc | 145 setTexCoords({ texCoords[0], in MCSurface() 146 texCoords[2], in MCSurface() 147 texCoords[1], in MCSurface() 148 texCoords[0], in MCSurface() 149 texCoords[3], in MCSurface() 180 texCoords[0], in updateTexCoords() 181 texCoords[2], in updateTexCoords() 182 texCoords[1], in updateTexCoords() 183 texCoords[0], in updateTexCoords() 184 texCoords[3], in updateTexCoords() [all …]
|
/dports/devel/emscripten/emscripten-2.0.3/tests/glbook/Common/ |
H A D | esShapes.c | 55 GLfloat **texCoords, GLushort **indices ) in esGenSphere() argument 71 if ( texCoords != NULL ) in esGenSphere() 72 *texCoords = malloc ( sizeof(GLfloat) * 2 * numVertices ); in esGenSphere() 99 if ( texCoords ) in esGenSphere() 102 (*texCoords)[texIndex + 0] = (float) j / (float) numSlices; in esGenSphere() 103 (*texCoords)[texIndex + 1] = ( 1.0f - (float) i ) / (float) (numParallels - 1 ); in esGenSphere() 142 GLfloat **texCoords, GLushort **indices ) in esGenCube() argument 249 if ( texCoords != NULL ) in esGenCube() 251 *texCoords = malloc ( sizeof(GLfloat) * 2 * numVertices ); in esGenCube() 252 memcpy( *texCoords, cubeTex, sizeof( cubeTex ) ) ; in esGenCube()
|
/dports/games/iortcw/iortcw-1.51c/MP/code/renderer/ |
H A D | tr_surface.c | 120 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 121 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 123 tess.texCoords[ndx + 1][0][0] = tess.texCoords[ndx + 1][1][0] = s2; in RB_AddQuadStampExt() 124 tess.texCoords[ndx + 1][0][1] = tess.texCoords[ndx + 1][1][1] = t1; in RB_AddQuadStampExt() 126 tess.texCoords[ndx + 2][0][0] = tess.texCoords[ndx + 2][1][0] = s2; in RB_AddQuadStampExt() 273 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 812 tess.texCoords[Doug + j][0][0] = texCoords[j * 2 + 0]; in RB_SurfaceMesh() 813 tess.texCoords[Doug + j][0][1] = texCoords[j * 2 + 1]; in RB_SurfaceMesh() 1027 tess.texCoords[Doug + j][0][0] = texCoords[j * 2 + 0]; in RB_SurfaceCMesh() 1028 tess.texCoords[Doug + j][0][1] = texCoords[j * 2 + 1]; in RB_SurfaceCMesh() [all …]
|
/dports/games/iortcw/iortcw-1.51c/SP/code/renderer/ |
H A D | tr_surface.c | 120 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 121 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 123 tess.texCoords[ndx + 1][0][0] = tess.texCoords[ndx + 1][1][0] = s2; in RB_AddQuadStampExt() 124 tess.texCoords[ndx + 1][0][1] = tess.texCoords[ndx + 1][1][1] = t1; in RB_AddQuadStampExt() 126 tess.texCoords[ndx + 2][0][0] = tess.texCoords[ndx + 2][1][0] = s2; in RB_AddQuadStampExt() 273 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 812 tess.texCoords[Doug + j][0][0] = texCoords[j * 2 + 0]; in RB_SurfaceMesh() 813 tess.texCoords[Doug + j][0][1] = texCoords[j * 2 + 1]; in RB_SurfaceMesh() 1027 tess.texCoords[Doug + j][0][0] = texCoords[j * 2 + 0]; in RB_SurfaceCMesh() 1028 tess.texCoords[Doug + j][0][1] = texCoords[j * 2 + 1]; in RB_SurfaceCMesh() [all …]
|
/dports/games/openjk/OpenJK-07675e2/code/rd-vanilla/ |
H A D | tr_surface.cpp | 119 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 120 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 122 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 123 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 125 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 126 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 128 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 1004 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 1310 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 1311 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/games/ioquake3-server/ioquake3-1.36/code/renderer/ |
H A D | tr_surface.c | 117 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 118 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 120 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 121 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 123 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 124 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 126 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 249 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 891 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 892 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/games/ioquake3/ioquake3-1.36/code/renderer/ |
H A D | tr_surface.c | 117 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 118 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 120 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 121 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 123 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 124 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 126 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 249 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 891 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 892 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/renderer/ |
H A D | tr_surface.c | 117 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 118 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 120 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 121 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 123 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 124 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 126 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 249 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 891 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 892 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/games/openarena/openarena-engine-source-0.8.8/code/renderer/ |
H A D | tr_surface.c | 117 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 118 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 120 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 121 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 123 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 124 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 126 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 249 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 891 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 892 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/renderer/ |
H A D | tr_surface.c | 117 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 118 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 120 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 121 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 123 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 124 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 126 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 249 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 891 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 892 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/utils/ |
H A D | SkPatchGrid.cpp | 33 const SkPoint texCoords[4]) { in setPatch() 69 if ((fModeFlags & kTexs_VertexType) && texCoords) { in setPatch() 70 fTexCoords[cornerPos] = texCoords[0]; in setPatch() 71 fTexCoords[cornerPos + 1] = texCoords[1]; in setPatch() 72 fTexCoords[cornerPos + (fCols + 1)] = texCoords[3]; in setPatch() 80 SkPoint texCoords[4]) const { in getPatch() 112 if ((fModeFlags & kTexs_VertexType) && texCoords) { in getPatch() 113 texCoords[0] = fTexCoords[cornerPos]; in getPatch() 114 texCoords[1] = fTexCoords[cornerPos + 1]; in getPatch() 115 texCoords[3] = fTexCoords[cornerPos + (fCols + 1)]; in getPatch() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/metal/shaders/ |
H A D | blit.metal | 44 float2 texCoords [[user(locn1)]]; 51 output.texCoords = options.srcTexCoords[vid]; 68 static uint2 getImageCoords(SrcTexture2d srcTexture, float2 texCoords) 71 uint2 coords = uint2(texCoords * float2(dimens)); 79 uint2 coords = getImageCoords(srcTexture, texCoords); 86 float2 texCoords, 127 output = blitSampleTextureMS(srcTexture2dMS, input.texCoords); 199 float2 texCoords, 243 input.texCoords, options); 253 float2 texCoords, [all …]
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDrivers/engine_mp/ |
H A D | GeometryPool.cpp | 75 texCoords->push_back( (*texCoords)[INDEX] ); \ 78 texCoords->push_back( (*texCoords)[INDEX] ); \ 83 …if ( maskSet == 0L || (!maskSet->isMasked((*texCoords)[INDEX0]) && !maskSet->isMasked((*texCoords)… 147 osg::Vec3Array* texCoords = new osg::Vec3Array(); in createGeometry() local 148 texCoords->reserve( numVerts ); in createGeometry() 149 geom->setTexCoordArray( 0, texCoords ); in createGeometry() 166 texCoords->push_back( osg::Vec3f(nx, ny, 1.0f) ); in createGeometry() 207 !maskSet->isMasked( (*texCoords)[i00] ) && in createGeometry() 208 !maskSet->isMasked( (*texCoords)[i01] ) && in createGeometry() 209 !maskSet->isMasked( (*texCoords)[i10] ) && in createGeometry() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgshadow/ |
H A D | IslandScene.cpp | 324 texCoords->push_back( osg::Vec2(0.0 + te, 0.5 - te ) ); in addTree() 325 texCoords->push_back( osg::Vec2(0.5 - te, 0.5 - te ) ); in addTree() 326 texCoords->push_back( osg::Vec2(0.5 - te, 0.0 + te ) ); in addTree() 327 texCoords->push_back( osg::Vec2(0.0 + te, 0.0 + te ) ); in addTree() 352 texCoords->push_back( osg::Vec2(0.5 + te, 1.0 - te) ); in addHouse() 353 texCoords->push_back( osg::Vec2(1.0 - te, 1.0 - te) ); in addHouse() 354 texCoords->push_back( osg::Vec2(1.0 - te, 0.5 + te) ); in addHouse() 355 texCoords->push_back( osg::Vec2(0.5 + te, 0.5 + te) ); in addHouse() 374 texCoords->push_back( osg::Vec2(0.5 + te, 0.5 - te) ); in addHouse() 418 osg::Vec2Array* texCoords = new osg::Vec2Array; in createObjects() local [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgshadow/ |
H A D | IslandScene.cpp | 324 texCoords->push_back( osg::Vec2(0.0 + te, 0.5 - te ) ); in addTree() 325 texCoords->push_back( osg::Vec2(0.5 - te, 0.5 - te ) ); in addTree() 326 texCoords->push_back( osg::Vec2(0.5 - te, 0.0 + te ) ); in addTree() 327 texCoords->push_back( osg::Vec2(0.0 + te, 0.0 + te ) ); in addTree() 352 texCoords->push_back( osg::Vec2(0.5 + te, 1.0 - te) ); in addHouse() 353 texCoords->push_back( osg::Vec2(1.0 - te, 1.0 - te) ); in addHouse() 354 texCoords->push_back( osg::Vec2(1.0 - te, 0.5 + te) ); in addHouse() 355 texCoords->push_back( osg::Vec2(0.5 + te, 0.5 + te) ); in addHouse() 374 texCoords->push_back( osg::Vec2(0.5 + te, 0.5 - te) ); in addHouse() 418 osg::Vec2Array* texCoords = new osg::Vec2Array; in createObjects() local [all …]
|
/dports/devel/upp/upp/bazaar/SurfaceCtrl/ |
H A D | Mesh.h | 42 texCoords = pick(obj.texCoords); 53 obj.texCoords.Clear(); 68 texCoords.Append(obj.texCoords); 95 Vector<float>& GetTexCoords(){return texCoords;} in GetTexCoords() 100 const Vector<float>& GetTexCoords()const noexcept{return texCoords;} in GetTexCoords() 127 …glBufferData(GL_ARRAY_BUFFER,texCoords.GetCount() * sizeof(float),(texCoords.GetCount() > 0)? &(te… in Init() 144 if(texCoords.GetCount()){ in Init() 170 texCoords.Clear(); 182 Vector<GLfloat> texCoords; variable
|
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/renderer/ |
H A D | tr_surface.c | 118 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 119 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 121 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 122 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 124 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 125 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 127 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 250 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 892 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 893 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/caches/ |
H A D | SoTextureCoordinateCache.cpp | 47 SbList <SbVec2f> texCoords; member in SoTextureCoordinateCacheP 122 if (i >= PRIVATE(this)->texCoords.getLength()) PRIVATE(this)->texCoords.append(SbVec2f()); in generate() 123 PRIVATE(this)->texCoords[i].setValue(s, t); in generate() 127 PRIVATE(this)->texCoords.truncate(numvertices); in generate() 136 return PRIVATE(this)->texCoords.getArrayPtr(); in get() 145 return PRIVATE(this)->texCoords.getLength(); in getNum()
|
/dports/games/openjk/OpenJK-07675e2/codemp/rd-vanilla/ |
H A D | tr_surface.cpp | 116 tess.texCoords[ndx][0][0] = tess.texCoords[ndx][1][0] = s1; in RB_AddQuadStampExt() 117 tess.texCoords[ndx][0][1] = tess.texCoords[ndx][1][1] = t1; in RB_AddQuadStampExt() 119 tess.texCoords[ndx+1][0][0] = tess.texCoords[ndx+1][1][0] = s2; in RB_AddQuadStampExt() 120 tess.texCoords[ndx+1][0][1] = tess.texCoords[ndx+1][1][1] = t1; in RB_AddQuadStampExt() 122 tess.texCoords[ndx+2][0][0] = tess.texCoords[ndx+2][1][0] = s2; in RB_AddQuadStampExt() 123 tess.texCoords[ndx+2][0][1] = tess.texCoords[ndx+2][1][1] = t2; in RB_AddQuadStampExt() 125 tess.texCoords[ndx+3][0][0] = tess.texCoords[ndx+3][1][0] = s1; in RB_AddQuadStampExt() 338 texCoords = tess.texCoords[ tess.numVertexes ][0]; in RB_SurfaceTriangles() 1279 tess.texCoords[Doug + j][0][0] = texCoords[j*2+0]; in RB_SurfaceMesh() 1280 tess.texCoords[Doug + j][0][1] = texCoords[j*2+1]; in RB_SurfaceMesh() [all …]
|
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/extras/text/ |
H A D | qtext2dentity.cpp | 265 QRectF texCoords = dfield.texCoords; in setCurrentGlyphRuns() local 272 texCoords.setHeight(texCoords.height() * insideRatio); in setCurrentGlyphRuns() 279 texCoords.setWidth(texCoords.width() * insideRatio); in setCurrentGlyphRuns() 282 data.vertex << x1 << y1 << i << texCoords.left() << texCoords.bottom(); in setCurrentGlyphRuns() 283 data.vertex << x1 << y2 << i << texCoords.left() << texCoords.top(); in setCurrentGlyphRuns() 284 data.vertex << x2 << y1 << i << texCoords.right() << texCoords.bottom(); in setCurrentGlyphRuns() 285 data.vertex << x2 << y2 << i << texCoords.right() << texCoords.top(); in setCurrentGlyphRuns()
|