Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Represents a 3D segment. More...
#include <ProceduralGeometryHelpers.h>
Public Member Functions | |
Segment3D () | |
Segment3D (Ogre::Vector3 a, Ogre::Vector3 b) | |
Contructor with arguments. More... | |
bool | epsilonEquivalent (const Segment3D &other) const |
Segment3D | orderedCopy () const |
Public Attributes | |
Ogre::Vector3 | mA |
Ogre::Vector3 | mB |
Represents a 3D segment.
Procedural::Segment3D::Segment3D | ( | ) |
Procedural::Segment3D::Segment3D | ( | Ogre::Vector3 | a, |
Ogre::Vector3 | b | ||
) |
Contructor with arguments.
bool Procedural::Segment3D::epsilonEquivalent | ( | const Segment3D & | other | ) | const |
References mA, mB, and Vector< 3, Real >::squaredDistance().
Segment3D Procedural::Segment3D::orderedCopy | ( | ) | const |
Ogre::Vector3 Procedural::Segment3D::mA |
Referenced by epsilonEquivalent().
Ogre::Vector3 Procedural::Segment3D::mB |
Referenced by epsilonEquivalent().