Home
last modified time | relevance | path

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

/dports/games/spring/spring_98.0/rts/Map/
H A DGround.cpp82 float3 cornerVertex; in LineGroundSquareCol() local
90 cornerVertex.x = xs * SQUARE_SIZE; in LineGroundSquareCol()
91 cornerVertex.z = ys * SQUARE_SIZE; in LineGroundSquareCol()
92 cornerVertex.y = heightmap[ys * gs->mapxp1 + xs]; in LineGroundSquareCol()
101 fromFacePlaneDist = (from - cornerVertex).dot(faceNormalTL); in LineGroundSquareCol()
107 …if ((col.x >= cornerVertex.x) && (col.z >= cornerVertex.z) && (col.x + col.z <= cornerVertex.x + c… in LineGroundSquareCol()
115 cornerVertex.x += SQUARE_SIZE; in LineGroundSquareCol()
116 cornerVertex.z += SQUARE_SIZE; in LineGroundSquareCol()
117 cornerVertex.y = heightmap[(ys + 1) * gs->mapxp1 + (xs + 1)]; in LineGroundSquareCol()
121 toFacePlaneDist = (to - cornerVertex).dot(faceNormalBR); in LineGroundSquareCol()
[all …]
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/opensubdiv/far/
H A DpatchBuilder.cpp1189 Index cornerVertex = faceVerts[corner]; in gatherIrregularSourcePoints() local
1195 cornerVertex, cornerSpans[corner], sourceRingVertices, in gatherIrregularSourcePoints()
1199 cornerVertex, sourceRingVertices, in gatherIrregularSourcePoints()
1203 cornerVertex, sourceRingVertices, in gatherIrregularSourcePoints()