#include <pDomain.h>


Public Member Functions | |
| PDPlane (const pVec &p0, const pVec &nrm0) | |
| ~PDPlane () | |
| bool | Within (const pVec &pos) const |
| pVec | Generate () const |
| pDomain * | copy () const |
Public Attributes | |
| pVec | p |
| pVec | nrm |
| float | D |
Definition at line 189 of file pDomain.h.
Definition at line 196 of file pDomain.h.
References D, pVec::normalize(), nrm, and p.
Referenced by copy().
00197 { 00198 p = p0; 00199 nrm = nrm0; 00200 nrm.normalize(); // Must normalize it. 00201 D = -(p * nrm); 00202 }


| bool PDPlane::Within | ( | const pVec & | pos | ) | const [inline, virtual] |
| pVec PDPlane::Generate | ( | ) | const [inline, virtual] |
| pDomain* PDPlane::copy | ( | ) | const [inline, virtual] |
Definition at line 192 of file pDomain.h.
Referenced by PABounce::Exec(), PAAvoid::Exec(), PDPlane(), and Within().
| float PDPlane::D |
Definition at line 193 of file pDomain.h.
Referenced by PABounce::Exec(), PAAvoid::Exec(), PDPlane(), and Within().
1.5.4