Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Public Member Functions | |
inline_ | LSS () |
Constructor. More... | |
inline_ | LSS (const Segment &seg, float radius) |
Constructor. More... | |
inline_ | ~LSS () |
Destructor. More... | |
void | ComputeOBB (OBB &box) |
inline_ bool | Contains (const Point &pt) const |
inline_ bool | Contains (const Sphere &sphere) |
inline_ bool | Contains (const LSS &lss) |
![]() | |
inline_ | Segment () |
Constructor. More... | |
inline_ | Segment (const Point &p0, const Point &p1) |
Constructor. More... | |
inline_ | Segment (const Segment &seg) |
Copy constructor. More... | |
inline_ | ~Segment () |
Destructor. More... | |
inline_ const Point & | GetOrigin () const |
inline_ Point | ComputeDirection () const |
inline_ void | ComputeDirection (Point &dir) const |
inline_ float | ComputeLength () const |
inline_ float | ComputeSquareLength () const |
inline_ void | SetOriginDirection (const Point &origin, const Point &direction) |
inline_ void | ComputePoint (Point &pt, float t) const |
float | SquareDistance (const Point &point, float *t=null) const |
inline_ float | Distance (const Point &point, float *t=null) const |
Public Attributes | |
float | mRadius |
Sphere radius. More... | |
![]() | |
Point | mP0 |
Start of segment. More... | |
Point | mP1 |
End of segment. More... | |
void Opcode::LSS::ComputeOBB | ( | OBB & | box) |