#include <Model.hpp>
Inheritance diagram for Sommet3DH::
Public Methods | |
Sommet3DH () | |
Sommet3DH (realtype X, realtype Y, realtype Z, realtype W) | |
Sommet3DH (const Sommet3DH &s) | |
Sommet3DH & | multiplyByMatrix (const Matrice44 &m) |
const Sommet3DH & | operator= (const Sommet3DH &v) |
const Sommet3DH & | operator= (const Sommet3D &v) |
const Sommet3DH & | operator= (const Sommet2D &v) |
Public Attributes | |
realtype | x |
realtype | y |
realtype | z |
realtype | w |
|
Definition at line 72 of file Sommet.hpp. 00072 : w( 1.0 ) { } |
|
Definition at line 74 of file Sommet.hpp. |
|
Definition at line 79 of file Sommet.hpp. |
|
Definition at line 67 of file Sommet.cpp. 00068 { 00069 00070 realtype tmp_x = x * m.xx + y * m.yx + 00071 z * m.zx + w * m.wx; 00072 00073 realtype tmp_y = x * m.xy + y * m.yy + 00074 z * m.zy + w * m.wy; 00075 00076 realtype tmp_z = x * m.xz + y * m.yz + 00077 z * m.zz + w * m.wz; 00078 00079 realtype tmp_w = x * m.xw + y * m.yw + 00080 z * m.zw + w * m.ww; 00081 00082 x = tmp_x; 00083 y = tmp_y; 00084 z = tmp_z; 00085 w = tmp_w; 00086 00087 return *this; 00088 } |
|
Reimplemented from Sommet3D. Definition at line 58 of file Sommet.cpp. |
|
Reimplemented from Sommet3D. Definition at line 49 of file Sommet.cpp. |
|
Definition at line 40 of file Sommet.cpp. |
|
Definition at line 70 of file Sommet.hpp. Referenced by Cube3D::init(), operator<<(), and operator>>().
|
|
Reimplemented from Sommet3D. Definition at line 47 of file Model.hpp. Referenced by Vector3DH::compox(), Cube3D::init(), Vector3DH::normalisation(), operator<<(), and operator>>().
|
|
Reimplemented from Sommet3D. Definition at line 47 of file Model.hpp. Referenced by Vector3DH::compoy(), Cube3D::init(), Vector3DH::normalisation(), operator<<(), and operator>>().
|
|
Reimplemented from Sommet3D. Definition at line 47 of file Model.hpp. Referenced by Vector3DH::compoz(), Cube3D::init(), Vector3DH::normalisation(), operator<<(), and operator>>().
|