diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-11-20 14:41:07 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-11-20 15:22:41 -0600 |
| commit | 4bda45ce4e8b509eb0da786a6044006942ac259c (patch) | |
| tree | a51eb808016e1710a4bbd537000a493250602944 /PhysX_3.4/Source/PhysX/src/buffering | |
| parent | Update README.md (diff) | |
| parent | PhysX 3.4.1, APEX 1.4.1 Release @23131702 (diff) | |
| download | physx-3.4-4bda45ce4e8b509eb0da786a6044006942ac259c.tar.xz physx-3.4-4bda45ce4e8b509eb0da786a6044006942ac259c.zip | |
Merge branch 'master'
Diffstat (limited to 'PhysX_3.4/Source/PhysX/src/buffering')
| -rw-r--r-- | PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp b/PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp index 44c5a7b2..3991251f 100644 --- a/PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp +++ b/PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp @@ -264,6 +264,12 @@ namespace { mRenderer.visualizeDoubleCone(t, PxF32(angle), active); } + + virtual void visualizeLine( const PxVec3& p0, const PxVec3& p1, PxU32 color) + { + const PvdDebugLine line(p0, p1, color); + mRenderer.drawLines(&line, 1); + } }; } |