|
| union { |
| struct { |
| float x |
| |
| float y |
| |
| float z |
| |
| float w |
| |
| } | |
| |
| float data [4] |
| |
| }; | |
| |
| Legion::Vector4f::Vector4f |
( |
| ) |
|
| Legion::Vector4f::Vector4f |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
| Legion::Vector4f::Vector4f |
( |
const float * |
tuple | ) |
|
| Legion::Vector4f::Vector4f |
( |
const Vector4f & |
other | ) |
|
| Legion::Vector4f::Vector4f |
( |
const Vector4d & |
other | ) |
|
| float Legion::Vector4f::distanceFrom |
( |
const Vector4f & |
vec | ) |
const |
| float Legion::Vector4f::distanceFromSquared |
( |
const Vector4f & |
vec | ) |
const |
returns interpolated vector
- Parameters
-
| other,: | other vector to interpolate between |
| d,: | value between 0.0f and 1.0f. |
| void Legion::Vector4f::invert |
( |
| ) |
|
| bool Legion::Vector4f::isBetweenPoints |
( |
const Vector4f & |
begin, |
|
|
const Vector4f & |
end |
|
) |
| const |
Returns if this vector interpreted as a point is on a line between two other points.
It is assumed that the point is on the line.
- Parameters
-
| begin,: | Beginning vector to compare between. |
| end,: | Ending vector to compare between. |
- Returns
- True if this vector is between begin and end. False if not.
| bool Legion::Vector4f::isZero |
( |
| ) |
|
| float Legion::Vector4f::length |
( |
| ) |
const |
| float Legion::Vector4f::lengthSquared |
( |
| ) |
const |
| float Legion::Vector4f::normalize |
( |
| ) |
|
| bool Legion::Vector4f::operator!= |
( |
const Vector4f & |
vec | ) |
const |
| Vector4f Legion::Vector4f::operator* |
( |
float |
scalar | ) |
const |
| Vector4f& Legion::Vector4f::operator*= |
( |
float |
scalar | ) |
|
| Vector4f Legion::Vector4f::operator- |
( |
| ) |
const |
| Vector4f Legion::Vector4f::operator/ |
( |
float |
scalar | ) |
const |
| Vector4f& Legion::Vector4f::operator/= |
( |
float |
scalar | ) |
|
| bool Legion::Vector4f::operator< |
( |
const Vector4f & |
vec | ) |
const |
| bool Legion::Vector4f::operator<= |
( |
const Vector4f & |
vec | ) |
const |
| bool Legion::Vector4f::operator== |
( |
const Vector4f & |
vec | ) |
const |
| bool Legion::Vector4f::operator> |
( |
const Vector4f & |
vec | ) |
const |
| bool Legion::Vector4f::operator>= |
( |
const Vector4f & |
vec | ) |
const |
| void Legion::Vector4f::setLength |
( |
float |
newLength | ) |
|
| float Legion::Vector4f::data[4] |
| float Legion::Vector4f::w |
| float Legion::Vector4f::x |
| float Legion::Vector4f::y |
| float Legion::Vector4f::z |
The documentation for this class was generated from the following file: