#include <vertex.h>
Public Methods | |
| Vertex () | |
| Vertex (float x, float y, float z) | |
| void | set (float x, float y, float z) |
| Vertex & | operator+= (const Vertex &v) |
| Vertex & | operator-= (const Vertex &v) |
| Vertex & | operator *= (float v) |
| Vertex & | operator/= (float v) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Friends | |
| Vertex | operator+ (const Vertex &v1, const Vertex &v2) |
| Vertex | operator- (const Vertex &v1, const Vertex &v2) |
| Vertex | operator * (const Vertex &v, float f) |
| Vertex | operator/ (const Vertex &v, float f) |
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
1.2.18