mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
debug draw contact normals (1cm) use black color
This commit is contained in:
parent
62d5b7c5c0
commit
7db9a020b9
@ -85,8 +85,8 @@ public:
|
||||
virtual void drawContactPoint(const btVector3& PointOnB,const btVector3& normalOnB,btScalar distance,int lifeTime,const btVector3& color)
|
||||
{
|
||||
drawLine(PointOnB,PointOnB+normalOnB*distance,color);
|
||||
btVector3 red(0.3, 1., 0.3);
|
||||
drawLine(PointOnB, PointOnB + normalOnB*0.01, red);
|
||||
btVector3 ncolor(0, 0, 0);
|
||||
drawLine(PointOnB, PointOnB + normalOnB*0.01, ncolor);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user