A sphere shape.
More...
#include <collision_shape.h>
|
| enum | Axis : uint8_t { AXIS_X = 0,
AXIS_Y = 1,
AXIS_Z = 2
} |
| | Enumeration for the 3 axes. More...
|
| |
| enum | ShapeType : uint8_t {
EMPTY_SHAPE = 0,
BOX_SHAPE = 1,
CAPSULE_SHAPE = 2,
COMPOUND_SHAPE = 3,
CONE_SHAPE = 4,
CYLINDER_SHAPE = 5,
SPHERE_SHAPE = 6
} |
| | Enumeration for the currently supported shape types. More...
|
| |
|
using | Ptr = std::shared_ptr< CollisionShape > |
| | Convenience typedef.
|
| |
| SphereShape::SphereShape |
( |
btScalar |
radius | ) |
|
Constructor.
- Parameters
-
| radius | The sphere's radius |
| btCollisionShape* thrive::SphereShape::bulletShape |
( |
| ) |
const |
|
inlineoverridevirtual |
Loads a sphere shape.
- Parameters
-
- Returns
| luabind::scope SphereShape::luaBindings |
( |
| ) |
|
|
static |
| const ShapeType thrive::SphereShape::SHAPE_TYPE = SPHERE_SHAPE |
|
static |
The ShapeType associated with this class.
The documentation for this class was generated from the following files:
- /home/hhyyrylainen/Projects/thrive_install/thrive/src/bullet/collision_shape.h
- /home/hhyyrylainen/Projects/thrive_install/thrive/src/bullet/collision_shape.cpp