AnimatLab  2
Test
BlOsgGeometry.h
1 
2 #pragma once
3 
4 namespace BulletAnimatSim
5 {
6  namespace Environment
7  {
8  btHeightfieldTerrainShape BULLET_PORT *CreateBtHeightField(osg::HeightField *osgHeightField, float fltSegWidth, float fltSegLength, float &fltMinHeight, float &fltMaxHeight, btScalar **aryHeightData);
9  btConvexHullShape BULLET_PORT *OsgMeshToConvexHull(osg::Node *lpNode, bool bOptimize, float fltMargin);
10  btConvexHullShape* OsgConvexShrunkenHullCollisionShape( osg::Node* node );
11  float BULLET_PORT OsgConvexHullVolume( osg::Node* nod);
12 
13  btVector3 Vec3AnimatToBullet(const CStdFPoint &vPoint);
14  CStdFPoint Vec3BulletToAnimat(const btVector3 &vPoint);
15  } // Environment
16 } //BulletAnimatSim
17 
18 
Classes for implementing the cm-labs vortex physics engine for AnimatLab.