vecteur generique, utilitaire.
More...
#include <vec.h>
|
| | vec3 () |
| | constructeur par defaut.
|
| | vec3 (const float _x, const float _y, const float _z) |
| | vec3 (const vec2 &v, const float _z) |
| | constructeur par defaut.
|
| | vec3 (const vec4 &v) |
| | vec3 (const Point &a) |
| | cree un vecteur generique a partir des coordonnees du point a.
|
| | vec3 (const Vector &v) |
| | cree un vecteur generique a partir des coordonnees du vecteur v.
|
| float | operator() (const unsigned int i) const |
| | renvoie la ieme composante du vecteur.
|
| float & | operator() (const unsigned int i) |
vecteur generique, utilitaire.
Definition at line 168 of file vec.h.
◆ vec3() [1/3]
constructeur par defaut.
Definition at line 171 of file vec.h.
◆ vec3() [2/3]
| vec3::vec3 |
( |
const float | _x, |
|
|
const float | _y, |
|
|
const float | _z ) |
|
inline |
Definition at line 172 of file vec.h.
172: x(_x), y(_y), z(_z) {}
◆ vec3() [3/3]
| vec3::vec3 |
( |
const vec2 & | v, |
|
|
const float | _z ) |
|
inline |
constructeur par defaut.
Definition at line 174 of file vec.h.
174: x(v.x), y(v.y), z(_z) {}
◆ operator()() [1/2]
| float vec3::operator() |
( |
const unsigned int | i | ) |
const |
|
inline |
renvoie la ieme composante du vecteur.
Definition at line 183 of file vec.h.
◆ operator()() [2/2]
| float & vec3::operator() |
( |
const unsigned int | i | ) |
|
|
inline |
The documentation for this struct was generated from the following file: