MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / readVertices

Function readVertices

physx/samples/samplebase/RawLoader.cpp:197–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197static void readVertices(File* fp, PxVec3* verts, PxU32 nbVerts, PxReal scale)
198{
199 readVertexArray(fp, verts, nbVerts);
200
201 for(PxU32 j=0;j<nbVerts;j++)
202 verts[j] *= scale;
203}
204
205static void readNormals(File* fp, PxVec3* verts, PxU32 nbVerts)
206{

Callers 1

loadRAWfileFunction · 0.70

Calls 1

readVertexArrayFunction · 0.70

Tested by

no test coverage detected