Blender V2.61 - r43446
Functions

btMultimaterialTriangleMeshShape.h File Reference

#include "btBvhTriangleMeshShape.h"
#include "btMaterial.h"

Go to the source code of this file.

Functions

 ATTRIBUTE_ALIGNED16 (class) btMultimaterialTriangleMeshShape
 This file was created by Alex Silverman.

Function Documentation

ATTRIBUTE_ALIGNED16 ( class  )

This file was created by Alex Silverman.

The BvhTriangleMaterialMeshShape extends the btBvhTriangleMeshShape. Its main contribution is the interface into a material array, which allows per-triangle friction and restitution.

optionally pass in a larger bvh aabb, used for quantization. This allows for deformations within this aabb

Obtains the material for a specific triangle

Definition at line 25 of file btMultimaterialTriangleMeshShape.h.

References BT_DECLARE_ALIGNED_ALLOCATOR, btStridingMeshInterface::getNumSubParts(), i, and MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE.