#include <Vertex3.h>
Inherited by Vertex4.
Inheritance diagram for Vertex3:

Public Types | |
| enum | Component { X, Y, Z } |
Public Methods | |
| Vertex3 () | |
| Vertex3 (real xx, real yy, real zz) | |
| Vertex3 (const Vertex3 &v) | |
| real & | operator[] (unsigned int i) |
| Component | largestComponent () const |
| Vertex3 & | lerp (Vertex3 &from, Vertex3 &to, float t) |
| Vertex3 & | operator= (const Vertex3 &v) |
| Vertex3 & | operator= (const Vertex4 &v) |
| void | operator-= (const Vertex3 &v) |
| void | operator+= (const Vertex3 &v) |
| void | operator *= (real r) |
| void | operator/= (real r) |
| void | operator &= (const Vertex3 &v) |
| Vertex3 | operator- (const Vertex3 &v) const |
| Vertex3 | operator+ (const Vertex3 &v) const |
| Vertex3 | operator * (real r) const |
| Vertex3 | operator/ (real r) const |
| real | operator * (const Vertex3 &v) const |
| Vertex3 | operator & (const Vertex3 &v) const |
| Cross product. More... | |
| real | sqrNorm () const |
| real | norm () const |
| real | maxNorm () |
| Vertex3 & | normalize () |
| Vertex3 & | setLength (real s) |
| Vertex3 & | invert () |
| Vertex3 & | scale (Vertex3 &v) |
| Vertex3 & | rotateX (real alpha) |
| calculates: this = rotate(alpha) * this. | |
| Vertex3 & | rotateY (real alpha) |
| Vertex3 & | rotateZ (real alpha) |
Public Attributes | |
| real | x |
| real | y |
| real | z |
|
|
Cross product. Calculates: |