summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/LinearMath/btIDebugDraw.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-09-07 15:09:02 -0300
committerGitHub <noreply@github.com>2018-09-07 15:09:02 -0300
commitec4b8e4a5a96457ef5f88f87205363b86b7c7615 (patch)
tree7a984cec670365b967671afdccb4de41aaad4c5b /thirdparty/bullet/LinearMath/btIDebugDraw.h
parent6ce9951d9e487cfacec40ea27e2a2be241d9da77 (diff)
parent6142448417f4e15bf0bc0c94df7d1862a790e3c7 (diff)
Merge pull request #21836 from AndreaCatania/bulletUpdate
Update bullet to Master 12409f1118a7c7a266f9071350c70789dfe73bb9
Diffstat (limited to 'thirdparty/bullet/LinearMath/btIDebugDraw.h')
-rw-r--r--thirdparty/bullet/LinearMath/btIDebugDraw.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/bullet/LinearMath/btIDebugDraw.h b/thirdparty/bullet/LinearMath/btIDebugDraw.h
index 936aaa896b..b57282717d 100644
--- a/thirdparty/bullet/LinearMath/btIDebugDraw.h
+++ b/thirdparty/bullet/LinearMath/btIDebugDraw.h
@@ -166,9 +166,9 @@ class btIDebugDraw
virtual void drawTransform(const btTransform& transform, btScalar orthoLen)
{
btVector3 start = transform.getOrigin();
- drawLine(start, start+transform.getBasis() * btVector3(orthoLen, 0, 0), btVector3(1.f,0.3,0.3));
- drawLine(start, start+transform.getBasis() * btVector3(0, orthoLen, 0), btVector3(0.3,1.f, 0.3));
- drawLine(start, start+transform.getBasis() * btVector3(0, 0, orthoLen), btVector3(0.3, 0.3,1.f));
+ drawLine(start, start+transform.getBasis() * btVector3(orthoLen, 0, 0), btVector3(btScalar(1.), btScalar(0.3), btScalar(0.3)));
+ drawLine(start, start+transform.getBasis() * btVector3(0, orthoLen, 0), btVector3(btScalar(0.3), btScalar(1.), btScalar(0.3)));
+ drawLine(start, start+transform.getBasis() * btVector3(0, 0, orthoLen), btVector3(btScalar(0.3), btScalar(0.3), btScalar(1.)));
}
virtual void drawArc(const btVector3& center, const btVector3& normal, const btVector3& axis, btScalar radiusA, btScalar radiusB, btScalar minAngle, btScalar maxAngle,