#include <box.h>
Graphe d'héritage de ngn::Box:


Cet objet 3D permet de dessiner un volume convexe.
Définition à la ligne 48 du fichier box.h.
Fonctions membres publiques | |
| Box () | |
| Box (float width, float height, float length, const Vector3df ¢er) | |
| Box (const Vector3df &min, const Vector3df &max, const Vector3df ¢er) | |
| Box (const Box &box) | |
| Box (const AABB &aabb) | |
| virtual | ~Box () |
| void | setWidth (float width) |
| void | setHeight (float height) |
| void | setLength (float length) |
| const Vector3df & | getMin () const |
| const Vector3df & | getMax () const |
| float | getWidth () const |
| float | getHeight () const |
| float | getLength () const |
| virtual void | render (const Camera &cam) |
Fonctions membres protégées | |
| void | calculateMinAndMax () |
| void | calculateSizes () |
| virtual void | computeCentre () |
|
|
Constructeur |
|
||||||||||||||||||||
|
Constructeur surchargé |
|
||||||||||||||||
|
Constructeur surchargé |
|
|
Constructeur de copie |
|
|
Constructeur permettant de dessiner une AABB |
|
|
Destructeur |
|
|
(re)calcule les dimensions du volume |
|
|
(re)calcule les dimensions du volume |
|
|
(re)calcule la position du centre Implémente ngn::Object3d. Réimplémentée dans ngn::Skybox. |
|
|
obtient la hauteur |
|
|
obtient la longueur |
|
|
obtient le vecteur maximum |
|
|
obtient le vecteur minimum |
|
|
obtient la largeur |
|
|
USAGE INTERNE : dessine le volume Implémente ngn::Object3d. Réimplémentée dans ngn::Skybox. |
|
|
définit la hauteur du volume |
|
|
définit la longueur du volume |
|
|
définit la largeur du volume |
1.3.9.1