Main Page Class Hierarchy Compound List File List Compound Members
CVector3D Class Reference
Cette classe contient une representation d'un vecteur 3D (x, y, z), ainsi que des opérations sur les vecteurs.
More...
#include <CVector3D.h>
List of all members.
Public Methods |
| CVector3D () |
| CVector3D (float _x, float _y, float _z) |
virtual | ~CVector3D () |
__forceinline float | DotProduct (const CVector3D &v) |
__forceinline float | GetMagnitude () const |
__forceinline void | Normalize () |
__forceinline float | GetSquareLength () const |
__forceinline CVector3D | Reflect (const CVector3D &n) |
Public Attributes |
float | x |
float | y |
float | z |
Friends |
__forceinline friend CVector3D | operator+ (const CVector3D &v1, const CVector3D &v2) |
__forceinline friend void | operator+= (CVector3D &v1, const CVector3D &v2) |
__forceinline friend CVector3D | operator- (const CVector3D &v1, const CVector3D &v2) |
__forceinline friend CVector3D | operator * (const CVector3D &v1, const CVector3D &v2) |
__forceinline friend CVector3D | operator * (const CVector3D &v1, const float multiple) |
__forceinline friend CVector3D | operator/ (const CVector3D &v1, const float multiple) |
__forceinline friend void | operator/= (CVector3D &v1, float multiple) |
__forceinline friend CVector3D | operator- (const CVector3D &v) |
Detailed Description
Cette classe contient une representation d'un vecteur 3D (x, y, z), ainsi que des opérations sur les vecteurs.
-
Author:
-
Benoît Lemaire (aka DaRkWoLf)
-
Date:
-
06/02/2002
The documentation for this class was generated from the following file:
Generated on Thu Apr 4 23:14:19 2002 by
1.2.15