OGRE-Next
3.0.0
Object-Oriented Graphics Rendering Engine
|
Actors are defined by a plane and a rectangle that limits that plane. More...
#include <OgrePlanarReflectionActor.h>
Public Attributes | |
ArrayVector3 | center |
ArrayReal | planeNegD [5] |
Arrangement is: 0 = main plane 1 = +Y plane (north) 2 = -Y plane (south) 3 = +X plane (east) 4 = -X plane (west) More... | |
ArrayQuaternion | planeNormals |
ArrayReal | xyHalfSize [2] |
Actors are defined by a plane and a rectangle that limits that plane.
Planes are normally infinite, but Actors limit them to a rectangle. In 3D, this means a plane has 4 additional planes to limit them (north, west, south & east) To hold those 5 planes, we only need 5 "d" from Plane, and 5 normals (one for the main plane, 2 for north & south, 2 for west & east). However a Quaternion can represent all 5 normals: zAxis is normal, +/- yAxis is north & south, +/- xAxis is west & east.
ArrayVector3 Ogre::ArrayActorPlane::center |
ArrayReal Ogre::ArrayActorPlane::planeNegD[5] |
Arrangement is: 0 = main plane 1 = +Y plane (north) 2 = -Y plane (south) 3 = +X plane (east) 4 = -X plane (west)
ArrayQuaternion Ogre::ArrayActorPlane::planeNormals |
ArrayReal Ogre::ArrayActorPlane::xyHalfSize[2] |