gKit2 light
Public Member Functions | Public Attributes | List of all members

vecteur generique, utilitaire. More...

#include <vec.h>

Public Member Functions

 vec3 (const float _x=0, const float _y=0, const float _z=0)
 constructeur par defaut. More...
 
 vec3 (const vec2 &a, const float _z)
 constructeur par defaut. More...
 
 vec3 (const Point &a)
 cree un vecteur generique a partir des coordonnees du point a. More...
 
 vec3 (const Vector &v)
 cree un vecteur generique a partir des coordonnees du vecteur v. More...
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

vecteur generique, utilitaire.

Definition at line 104 of file vec.h.

Constructor & Destructor Documentation

vec3::vec3 ( const float  _x = 0,
const float  _y = 0,
const float  _z = 0 
)
inline

constructeur par defaut.

Definition at line 107 of file vec.h.

107 : x(_x), y(_y), z(_z) {}
vec3::vec3 ( const vec2 a,
const float  _z 
)
inline

constructeur par defaut.

Definition at line 109 of file vec.h.

109 : x(a.x), y(a.y), z(_z) {}

The documentation for this struct was generated from the following file: