FMath/FMVector4.h File Reference

This file contains the class for 4 dimensional vectors. More...

Go to the source code of this file.

Classes

class  FMVector4
 A 4 dimensional vector. More...

Typedefs

typedef fm::vector< FMVector4FMVector4List
 A dynamically-sized array of 4D vectors or points.

Functions

FMVector4 operator * (const FMVector4 &a, float b)
 Scalar multiplication with a FMVector4.
FMVector4 operator * (float a, const FMVector4 &b)
 Scalar multiplication with a FMVector4.
FMVector4 operator+ (const FMVector4 &a, const FMVector4 &b)
 Vector addition with two FMVector4.
FMVector4 operator- (const FMVector4 &a, const FMVector4 &b)
 Vector substraction with two FMVector4.
FMVector4operator+= (FMVector4 &b, const FMVector4 &a)
 Assignment of the addition of two FMVector4.
FMVector4operator-= (FMVector4 &b, const FMVector4 &a)
 Assignment of the subtraction of two FMVector4.
FMVector4operator *= (FMVector4 &b, float a)
 Assignment of the scalar multiplication of a FMVector4.
FMVector4operator/= (FMVector4 &b, float a)
 Assignment of the scalar division of a FMVector4.
float operator * (const FMVector4 &a, const FMVector4 &b)
 Dot product of two FMVector4.
bool IsEquivalent (const FMVector4 &p, const FMVector4 &q)
 Returns whether two 4D vectors are equivalent.
bool operator== (const FMVector4 &p, const FMVector4 &q)
 See above.


Detailed Description

This file contains the class for 4 dimensional vectors.


Function Documentation

bool IsEquivalent const FMVector4 p,
const FMVector4 q
[inline]
 

Returns whether two 4D vectors are equivalent.

Parameters:
p A first vector.
q A second vector.
Returns:
Whether the vectors are equivalent.

float operator * const FMVector4 a,
const FMVector4 b
[inline]
 

Dot product of two FMVector4.

Parameters:
a The first vector.
b The second vector.
Returns:
The result of the dot product.

FMVector4 operator * float  a,
const FMVector4 b
[inline]
 

Scalar multiplication with a FMVector4.

Parameters:
a The scalar.
b The vector.
Returns:
The FMVector4 representing the resulting vector.

FMVector4 operator * const FMVector4 a,
float  b
[inline]
 

Scalar multiplication with a FMVector4.

Parameters:
a The vector.
b The scalar.
Returns:
The FMVector4 representing the resulting vector.

FMVector4& operator *= FMVector4 b,
float  a
[inline]
 

Assignment of the scalar multiplication of a FMVector4.

Parameters:
b The vector, which will also be assigned to the result.
a The scalar.
Returns:
The vector, after it has been assigned new values.

FMVector4 operator+ const FMVector4 a,
const FMVector4 b
[inline]
 

Vector addition with two FMVector4.

Parameters:
a The first vector.
b The second vector.
Returns:
The FMVector4 representation of the resulting vector.

FMVector4& operator+= FMVector4 b,
const FMVector4 a
[inline]
 

Assignment of the addition of two FMVector4.

Parameters:
b The first vector, which will also be assigned to the result.
a The second vector.
Returns:
The first vector, after it has been assigned new values.

FMVector4 operator- const FMVector4 a,
const FMVector4 b
[inline]
 

Vector substraction with two FMVector4.

Parameters:
a The first vector.
b The second vector.
Returns:
The FMVector4 representation of the resulting vector.

FMVector4& operator-= FMVector4 b,
const FMVector4 a
[inline]
 

Assignment of the subtraction of two FMVector4.

Parameters:
b The first vector, which will also be assigned to the result.
a The second vector.
Returns:
The first vector, after it has been assigned new values.

FMVector4& operator/= FMVector4 b,
float  a
[inline]
 

Assignment of the scalar division of a FMVector4.

Parameters:
b The vector, which will also be assigned to the result.
a The scalar.
Returns:
The vector, after it has been assigned new values.


Generated on Thu Feb 14 16:58:36 2008 for FCollada by  doxygen 1.4.6-NO