#include <point.h>
Inheritance diagram for Point:
Public Methods | |
Point () | |
Default constructor. | |
Point (const Vector &pos, const Vector &normal) | |
Constructor. | |
Point (const Vector &pos, const Vector &normal, const Vector &texture) | |
Constructor. | |
Point (const double &x, const double &y, const double &z) | |
Constructor. | |
Vector & | position () |
Position of point. | |
const Vector & | position () const |
Position of point. | |
Vector & | normal () |
Surface normal of point. | |
const Vector & | normal () const |
Surface normal of point. | |
Vector & | texture () |
Texture co-ordinate. | |
const Vector & | texture () const |
Texture co-ordinate. | |
bool | operator== (const Point &vector) const |
Equality operator. | |
bool | operator!= (const Point &vector) const |
Inequality operator. | |
void | transform (const Matrix &trans) |
Transform point by 4x4 matrix. |
Definition at line 42 of file point.h.
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|