internal void UncacheShape(ulong meshHash, PhysicsShape shape, ShapeType shapeType) { ShapeCache cache = FindCorrespondingCache(shapeType); cache.RemoveShape(meshHash, shape); }
internal void CacheShape(ulong meshHash, PhysicsShape phyShape, ShapeType bestFitShape) { ShapeCache cache = FindCorrespondingCache(bestFitShape); cache.AddShape(meshHash, phyShape); }