Blender V2.61 - r43446
Enumerations | Functions

btInternalEdgeUtility.h File Reference

#include "LinearMath/btHashMap.h"
#include "LinearMath/btVector3.h"
#include "BulletCollision/CollisionShapes/btTriangleInfoMap.h"

Go to the source code of this file.

Enumerations

enum  btInternalEdgeAdjustFlags { BT_TRIANGLE_CONVEX_BACKFACE_MODE = 1, BT_TRIANGLE_CONCAVE_DOUBLE_SIDED = 2, BT_TRIANGLE_CONVEX_DOUBLE_SIDED = 4 }

Functions

void btGenerateInternalEdgeInfo (btBvhTriangleMeshShape *trimeshShape, btTriangleInfoMap *triangleInfoMap)
 Call btGenerateInternalEdgeInfo to create triangle info, store in the shape 'userInfo'.
void btAdjustInternalEdgeContacts (btManifoldPoint &cp, const btCollisionObject *trimeshColObj0, const btCollisionObject *otherColObj1, int partId0, int index0, int normalAdjustFlags=0)
 Changes a btManifoldPoint collision normal to the normal from the mesh.

Enumeration Type Documentation

Enumerator:
BT_TRIANGLE_CONVEX_BACKFACE_MODE 
BT_TRIANGLE_CONCAVE_DOUBLE_SIDED 
BT_TRIANGLE_CONVEX_DOUBLE_SIDED 

Definition at line 20 of file btInternalEdgeUtility.h.


Function Documentation

void btAdjustInternalEdgeContacts ( btManifoldPoint cp,
const btCollisionObject *  trimeshColObj0,
const btCollisionObject *  otherColObj1,
int  partId0,
int  index0,
int  normalAdjustFlags = 0 
)
void btGenerateInternalEdgeInfo ( btBvhTriangleMeshShape *  trimeshShape,
btTriangleInfoMap triangleInfoMap 
)