Logo Search packages:      
Sourcecode: blender version File versions  Download package


 * Copyright (c) 2006 Erwin Coumans http://continuousphysics.com/Bullet/
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies.
 * Erwin Coumans makes no representations about the suitability 
 * of this software for any purpose.  
 * It is provided "as is" without express or implied warranty.

#include "CollisionShapes/TriangleMeshShape.h"
#include "CollisionShapes/OptimizedBvh.h"

///Bvh Concave triangle mesh is a static-triangle mesh shape with Bounding Volume Hierarchy optimization.
///Uses an interface to access the triangles to allow for sharing graphics/physics triangles.
00019 class BvhTriangleMeshShape : public TriangleMeshShape

      OptimizedBvh*     m_bvh;
      BvhTriangleMeshShape(StridingMeshInterface* meshInterface);

      virtual ~BvhTriangleMeshShape();

      virtual int GetShapeType() const

      virtual void      ProcessAllTriangles(TriangleCallback* callback,const SimdVector3& aabbMin,const SimdVector3& aabbMax) const;

      virtual char*     GetName()const {return "BVHTRIANGLEMESH";}

      virtual void      setLocalScaling(const SimdVector3& scaling);



Generated by  Doxygen 1.6.0   Back to index