This is used to represent a flat infinite slice of the game world. More...
#include <plane.h>
Public Member Functions | |
| Plane () | |
| Default constructor. | |
| Plane (Vector3 Normal_, Real Distance_) | |
| Thorough constructor. | |
| Plane (const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2) | |
| Triangle constructor. | |
| Plane (Ogre::Plane Plane_) | |
| Compatibily constructor. | |
| void | ExtractOgrePlane (const Ogre::Plane &Plane2) |
| Changes this Plane to match the Ogre Plane. | |
| Ogre::Plane | GetOgrePlane () const |
| Gets an Ogre::Plane that contains this Plane's information. | |
| void | operator= (const Ogre::Plane &Plane2) |
| The assignment operator from Ogre::Plane to Mezzanine::Plane. | |
Public Attributes | |
| Real | Distance |
| How from from the origin the plane is. | |
| Vector3 | Normal |
| The rotation of the plane. | |
This is used to represent a flat infinite slice of the game world.
The Normal value represents how rotated the plane will be, and The Distance with represent how far you need to move down a line perpendicular to the plane, (ie the normal, which is defined by the Normal value) from the Origin.
| Mezzanine::Plane::Plane | ( | ) |
| Mezzanine::Plane::Plane | ( | Ogre::Plane | Plane_ | ) | [explicit] |
| void Mezzanine::Plane::ExtractOgrePlane | ( | const Ogre::Plane & | Plane2 | ) |
| Ogre::Plane Mezzanine::Plane::GetOgrePlane | ( | ) | const |
| void Mezzanine::Plane::operator= | ( | const Ogre::Plane & | Plane2 | ) |
The assignment operator from Ogre::Plane to Mezzanine::Plane.
this simply call Mezzanine::Plane::ExtractOgrePlane
| Plane2 | The Ogre::Plane to take data from. |
1.7.3