some finishing touches for drawing shadows/clusters/textures.

This commit is contained in:
erwin.coumans
2008-08-01 06:11:11 +00:00
parent 7bf65e95f4
commit 9c776c6ed0
7 changed files with 89 additions and 19 deletions

View File

@@ -51,6 +51,10 @@ class GL_ShapeDrawer
void drawShadow(btScalar* m, const btVector3& extrusion,const btCollisionShape* shape,const btVector3& worldBoundsMin,const btVector3& worldBoundsMax);
bool enableTexture(bool enable) { bool p=m_textureenabled;m_textureenabled=enable;return(p); }
bool hasTextureEnabled() const
{
return m_textureenabled;
}
static void drawCylinder(float radius,float halfHeight, int upAxis);
static void drawCoordSystem();