Blender V2.61 - r43446
Classes | Defines

btAlignedObjectArray.h File Reference

#include "btScalar.h"
#include "btAlignedAllocator.h"
#include <new>

Go to the source code of this file.

Classes

class  btAlignedObjectArray< T >
class  btAlignedObjectArray< T >::less

Defines

#define BT_USE_PLACEMENT_NEW   1

Define Documentation

#define BT_USE_PLACEMENT_NEW   1

If the platform doesn't support placement new, you can disable BT_USE_PLACEMENT_NEW then the btAlignedObjectArray doesn't support objects with virtual methods, and non-trivial constructors/destructors You can enable BT_USE_MEMCPY, then swapping elements in the array will use memcpy instead of operator= see discussion here: http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1231 and http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1240

Definition at line 29 of file btAlignedObjectArray.h.

Referenced by btAlignedObjectArray< Material * >::copy().