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

Function outputTriangle

physx/source/physx/src/NpShapeManager.cpp:548–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548static PX_FORCE_INLINE void outputTriangle(PxDebugLine* segments, const PxVec3& v0, const PxVec3& v1, const PxVec3& v2, PxU32 color)
549{
550 // PT: TODO: use SIMD
551 segments[0] = PxDebugLine(v0, v1, color);
552 segments[1] = PxDebugLine(v1, v2, color);
553 segments[2] = PxDebugLine(v2, v0, color);
554}
555
556static void visualizeTriangleMesh(const PxTriangleMeshGeometry& geometry, RenderOutput& out, const PxTransform& pose, const PxBounds3& cullbox, const PxReal fscale, bool visualizeShapes, bool visualizeEdges, bool useCullBox)
557{

Callers 2

visualizeTriangleMeshFunction · 0.85
visualizeHeightFieldFunction · 0.85

Calls 1

PxDebugLineClass · 0.85

Tested by

no test coverage detected