Home
last modified time | relevance | path

Searched refs:vertexCount (Results 1 – 3 of 3) sorted by relevance

/haiku/src/apps/haiku3d/mesh/
H A DStaticMesh.cpp57 uint32 vertexCount = 0; in _ReadText() local
58 fscanf(f, "%" B_PRIu32, &vertexCount); in _ReadText()
59 fFaces[i].vertexCount = vertexCount; in _ReadText()
61 for (uint32 vi = 0; vi < vertexCount; vi++) { in _ReadText()
88 file.Write(&fFaces[i].vertexCount, sizeof(uint16)); in _WriteBinary()
89 for (uint32 vi = 0; vi < fFaces[i].vertexCount; vi++) { in _WriteBinary()
111 file.Read(&fFaces[i].vertexCount, sizeof(uint16)); in _ReadBinary()
112 for (uint32 vi = 0; vi < fFaces[i].vertexCount; vi++) { in _ReadBinary()
147 memoryIO.Read(&fFaces[i].vertexCount, sizeof(uint16)); in _ReadResource()
148 for (uint32 vi = 0; vi < fFaces[i].vertexCount; vi++) { in _ReadResource()
/haiku/src/apps/haiku3d/
H A DMeshInstance.cpp85 if (face.vertexCount != lastVertexCount) { in Render()
89 if (face.vertexCount == 3) in Render()
116 if (face.vertexCount == 4) { in Render()
123 if (face.vertexCount == 4) { in Render()
141 lastVertexCount = face.vertexCount; in Render()
151 if (face.vertexCount == 4) { in Render()
163 if (face.vertexCount == 4) in Render()
H A DMesh.h26 uint16 vertexCount; member