aiVector3D Struct Reference
Represents a three-dimensional vector.
More...
List of all members.
Detailed Description
Represents a three-dimensional vector.
Constructor & Destructor Documentation
aiVector3D::aiVector3D |
( |
|
) |
[inline] |
aiVector3D::aiVector3D |
( |
float |
_x, |
|
|
float |
_y, |
|
|
float |
_z | |
|
) |
| | [inline] |
aiVector3D::aiVector3D |
( |
float |
_xyz |
) |
[inline] |
aiVector3D::aiVector3D |
( |
const aiVector3D & |
o |
) |
[inline] |
Member Function Documentation
AI_FORCE_INLINE float aiVector3D::Length |
( |
|
) |
const |
Get the length of the vector.
- Returns:
- length
AI_FORCE_INLINE aiVector3D & aiVector3D::Normalize |
( |
|
) |
|
AI_FORCE_INLINE bool aiVector3D::operator!= |
( |
const aiVector3D & |
other |
) |
const |
AI_FORCE_INLINE const aiVector3D & aiVector3D::operator*= |
( |
float |
f |
) |
|
AI_FORCE_INLINE const aiVector3D & aiVector3D::operator/= |
( |
float |
f |
) |
|
AI_FORCE_INLINE bool aiVector3D::operator== |
( |
const aiVector3D & |
other |
) |
const |
AI_FORCE_INLINE float & aiVector3D::operator[] |
( |
unsigned int |
i |
) |
|
AI_FORCE_INLINE float aiVector3D::operator[] |
( |
unsigned int |
i |
) |
const |
AI_FORCE_INLINE void aiVector3D::Set |
( |
float |
pX, |
|
|
float |
pY, |
|
|
float |
pZ = 0.f | |
|
) |
| | |
Set the components of a vector.
- Parameters:
-
| pX | X component |
| pY | Y component |
| pZ | Z component |
AI_FORCE_INLINE float aiVector3D::SquareLength |
( |
|
) |
const |
Get the squared length of the vector.
- Returns:
- Square length
Componentwise multiplication of two vectors.
Note that vec*vec yields the dot product.
- Parameters:
-
Member Data Documentation
The documentation for this struct was generated from the following files: