Lines Matching refs:triangle
992 Triangle *triangle = triangleBatch[unit]; in processPrimitiveVertices() local
1284 vertexRoutine(&triangle->v0, (unsigned int*)&batch, task, data); in processPrimitiveVertices()
1289 Triangle *triangle = triangleBatch[unit]; in setupTriangles() local
1301 for(int i = 0; i < count; i++, triangle++) in setupTriangles()
1303 Vertex &v0 = triangle->v0; in setupTriangles()
1304 Vertex &v1 = triangle->v1; in setupTriangles()
1305 Vertex &v2 = triangle->v2; in setupTriangles()
1321 if(setupRoutine(primitive, triangle, &polygon, data)) in setupTriangles()
1334 Triangle *triangle = triangleBatch[unit]; in setupLines() local
1345 if(setupLine(*primitive, *triangle, draw)) in setupLines()
1351 triangle++; in setupLines()
1359 Triangle *triangle = triangleBatch[unit]; in setupPoints() local
1370 if(setupPoint(*primitive, *triangle, draw)) in setupPoints()
1376 triangle++; in setupPoints()
1382 bool Renderer::setupLine(Primitive &primitive, Triangle &triangle, const DrawCall &draw) in setupLine() argument
1390 Vertex &v0 = triangle.v0; in setupLine()
1391 Vertex &v1 = triangle.v1; in setupLine()
1465 return setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
1571 return setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
1578 bool Renderer::setupPoint(Primitive &primitive, Triangle &triangle, const DrawCall &draw) in setupPoint() argument
1584 Vertex &v = triangle.v0; in setupPoint()
1630 triangle.v1 = triangle.v0; in setupPoint()
1631 triangle.v2 = triangle.v0; in setupPoint()
1633 triangle.v1.X += iround(16 * 0.5f * pSize); in setupPoint()
1634 …triangle.v2.Y -= iround(16 * 0.5f * pSize) * (data.Hx16[0] > 0.0f ? 1 : -1); // Both Direct3D an… in setupPoint()
1650 return setupRoutine(&primitive, &triangle, &polygon, &data); in setupPoint()