aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Include/PxConstraintDesc.h
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-11-20 11:35:52 -0600
committerSheikh Dawood Abdul Ajees <[email protected]>2017-11-20 11:35:52 -0600
commit3cc1861221d761b7f0301b9b61de4e1aa18c09f4 (patch)
treea51eb808016e1710a4bbd537000a493250602944 /PhysX_3.4/Include/PxConstraintDesc.h
parentPhysX 3.4.1, APEX 1.4.1 Release @22845541 (diff)
downloadphysx-3.4-3cc1861221d761b7f0301b9b61de4e1aa18c09f4.tar.xz
physx-3.4-3cc1861221d761b7f0301b9b61de4e1aa18c09f4.zip
PhysX 3.4.1, APEX 1.4.1 Release @23131702
Diffstat (limited to 'PhysX_3.4/Include/PxConstraintDesc.h')
-rw-r--r--PhysX_3.4/Include/PxConstraintDesc.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/PhysX_3.4/Include/PxConstraintDesc.h b/PhysX_3.4/Include/PxConstraintDesc.h
index b7ffb768..f92bad1f 100644
--- a/PhysX_3.4/Include/PxConstraintDesc.h
+++ b/PhysX_3.4/Include/PxConstraintDesc.h
@@ -265,17 +265,19 @@ public:
virtual void visualizeLimitCone( const PxTransform& t, PxReal ySwing, PxReal zSwing, bool active) = 0;
virtual void visualizeDoubleCone( const PxTransform& t, PxReal angle, bool active) = 0;
+
+ virtual void visualizeLine(const PxVec3& p0, const PxVec3& p1, PxU32 color) = 0;
};
/** solver constraint visualization function
This function is called by the constraint post-solver framework to visualize the constraint
-\param[out] visualizer the render buffer to render to
-\param[in] constantBlock the constant data block
-\param[in] body0Transform The center of mass frame of the first constrained body (the identity if the actor is static, or a NULL pointer was provided for it)
-\param[in] body1Transform The center of mass frame of the second constrained body (the identity if the actor is static, or a NULL pointer was provided for it)
-\param[in] flags the visualization flags
+\param[out] visualizer The render buffer to render to
+\param[in] constantBlock The constant data block
+\param[in] body0Transform The center of mass frame of the first constrained body (the identity if the actor is static, or a NULL pointer was provided for it)
+\param[in] body1Transform The center of mass frame of the second constrained body (the identity if the actor is static, or a NULL pointer was provided for it)
+\param[in] flags The visualization flags (PxConstraintVisualizationFlag)
@see PxRenderBuffer
*/