Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <Shape.h>
Public Member Functions | |
const core::quaternion & | getOrientation () const |
Gets the orientation of this shape. | |
const core::vector3d & | getPosition () const |
Gets the position of the joint relative to it's body. | |
const ShapeType & | getShapeType () const |
Gets hape type. | |
virtual void | setOrientation (const core::quaternion &q) |
Sets the orientation applied to this shape. | |
virtual void | setPosition (const core::vector3d &pos) |
virtual void | setPosition (f32 x, f32 y, f32 z) |
Sets the position of the shape relative to it's body. | |
Shape () | |
virtual | ~Shape () |
Protected Attributes | |
core::quaternion | mOrientation |
Stores the orientation of the shape relative to it's body. | |
core::vector3d | mPosition |
Stores the position/translation of the shape relative to its body. | |
ShapeType | mShapeType |
Defines a physical shape. Author: Kat'Oun version: 1.0
physics::Shape::Shape | ( | ) |
References core::quaternion::IDENTITY, mOrientation, mPosition, mShapeType, core::vector3d::ORIGIN_3D, and physics::ST_UNDEFINED.
physics::Shape::~Shape | ( | ) | [virtual] |
const core::quaternion & physics::Shape::getOrientation | ( | ) | const |
Gets the orientation of this shape.
References mOrientation.
const core::vector3d & physics::Shape::getPosition | ( | ) | const |
Gets the position of the joint relative to it's body.
References mPosition.
const ShapeType & physics::Shape::getShapeType | ( | ) | const |
Gets hape type.
References mShapeType.
void physics::Shape::setOrientation | ( | const core::quaternion & | q | ) | [virtual] |
Sets the orientation applied to this shape.
References mOrientation.
void physics::Shape::setPosition | ( | const core::vector3d & | pos | ) | [virtual] |
References mPosition.
Sets the position of the shape relative to it's body.
References mPosition, core::vector3d::X, core::vector3d::Y, and core::vector3d::Z.
core::quaternion physics::Shape::mOrientation [protected] |
Stores the orientation of the shape relative to it's body.
Referenced by getOrientation(), setOrientation(), and Shape().
core::vector3d physics::Shape::mPosition [protected] |
Stores the position/translation of the shape relative to its body.
Referenced by getPosition(), setPosition(), and Shape().
ShapeType physics::Shape::mShapeType [protected] |
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by
Doxygen
(1.7.4)
|