| 41 | } |
| 42 | |
| 43 | virtual void drawLine(const btVector3 &from, const btVector3 &to, const btVector3 &color) { |
| 44 | glColor3f(color.x(), color.y(), color.z()); |
| 45 | glBegin(GL_LINES); |
| 46 | glVertex3f(from.x(), from.y(), from.z()); |
| 47 | glVertex3f(to.x(), to.y(), to.z()); |
| 48 | glEnd(); |
| 49 | } |
| 50 | |
| 51 | virtual void drawContactPoint(const btVector3 &, const btVector3 &, btScalar, int, const btVector3 &) {} |
| 52 |
no outgoing calls
no test coverage detected