aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp')
-rw-r--r--PhysX_3.4/Source/PhysX/src/buffering/ScbScenePvdClient.cpp6
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);
+ }
};
}