|
libHSPlasma
|
Describes an infinite plane in 3D space. More...
#include <hsGeometry3.h>
Public Member Functions | |
| hsPlane3 () | |
| hsPlane3 (const hsVector3 &n, float w) | |
| void | read (hsStream *S) |
| void | write (hsStream *S) |
| void | prcWrite (pfPrcHelper *prc) |
| void | prcParse (const pfPrcTag *tag) |
Public Attributes | |
| hsVector3 | N |
| float | W |
Describes an infinite plane in 3D space.
| hsPlane3::hsPlane3 | ( | ) |
Constructs a plane at the origin aligned to the X-Y axis plane.
| hsPlane3::hsPlane3 | ( | const hsVector3 & | n, |
| float | w | ||
| ) |
Constructs a plane at w with a normal of n.
| void hsPlane3::prcParse | ( | const pfPrcTag * | tag | ) |
Parse PRC source into this plane
| void hsPlane3::prcWrite | ( | pfPrcHelper * | prc | ) |
Write this plane as PRC source
| void hsPlane3::read | ( | hsStream * | S | ) |
Read this plane from a stream
| void hsPlane3::write | ( | hsStream * | S | ) |
Write this plane to a stream
| hsVector3 hsPlane3::N |
The Normal direction of the plane (should be a unit vector).
| float hsPlane3::W |
The distance this plane is from the origin, with respect to N.
1.8.1.2