void csBulletCollider::FillWithColliderGeometry ( csRef<iGeneralFactoryState> genmesh_fact) { // @@@ TODO #if 0 switch (geomType) { case BOX_COLLIDER_GEOMETRY: { SimdTransform trans; SimdVector3 max; SimdVector3 min; BoxShape* b = (BoxShape*)pc->GetRigidBody ()->GetCollisionShape (); csBox3 box; for (int i = 0; i < b->GetNumVertices (); i++) { SimdVector3 vtx; b->GetVertex (i, vtx); box.AddBoundingVertexTest (csVector3 (vtx[0], vtx[1], vtx[2])); } genmesh_fact->GenerateBox (box); genmesh_fact->CalculateNormals (); } break; default: break; } #endif }