libHSPlasma
Public Member Functions | Public Attributes | List of all members
hsPlane3 Struct Reference

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

Detailed Description

Describes an infinite plane in 3D space.

Constructor & Destructor Documentation

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.

Member Function Documentation

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

Member Data Documentation

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.


The documentation for this struct was generated from the following file: