40 #ifndef _physicsmultispherecollisionshape_h
41 #define _physicsmultispherecollisionshape_h
43 #include "Physics/primitivecollisionshape.h"
45 class btMultiSphereShape;
68 void Construct(
const String& Name,
const std::vector<Vector3>& Locations,
const std::vector<Real>& Radii);
73 void Construct(
const String& Name, btMultiSphereShape* BulletShape);
91 virtual Vector3 GetSphereLocation(
const Whole& Index)
const;
95 virtual Real GetSphereRadius(
const Whole& Index)
const;
98 virtual Whole GetNumSpheres()
const;
102 virtual btMultiSphereShape* GetMultiSphereShape()
const;
105 virtual void ProtoSerialize(
XML::Node& CurrentRoot)
const;
107 virtual void ProtoDeSerialize(
const XML::Node& OneNode);
110 static String GetSerializableName();
std::ostream & operator<<(std::ostream &stream, const Mezzanine::LinearInterpolator< T > &Lint)
Used to Serialize an Mezzanine::LinearInterpolator to a human readable stream.
A physics shape comprised of multiple sphere's placed in local space.
float Real
A Datatype used to represent a real floating point number.
A light-weight handle for manipulating nodes in DOM tree.
ShapeType
This enum describes what kind of shape you are currently working with.
This is the base class for all Primitive shapes.
This is used to represent a point in space, or a vector through space.
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
std::istream & operator>>(std::istream &stream, Mezzanine::LinearInterpolator< T > &Lint)
Used to de-serialize an Mezzanine::LinearInterpolator from a stream.
std::string String
A datatype used to a series of characters.