|
| union { |
| struct { |
| double x |
| |
| double y |
| |
| double z |
| |
| double w |
| |
| } | |
| |
| double data [4] |
| |
| }; | |
| |
| Legion::Vector4d::Vector4d |
( |
| ) |
|
| Legion::Vector4d::Vector4d |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
w |
|
) |
| |
| Legion::Vector4d::Vector4d |
( |
const double * |
tuple | ) |
|
| Legion::Vector4d::Vector4d |
( |
const Vector4d & |
other | ) |
|
| Legion::Vector4d::Vector4d |
( |
const Vector4f & |
other | ) |
|
| double Legion::Vector4d::distanceFrom |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
| double Legion::Vector4d::distanceFromSquared |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
returns interpolated vector
- Parameters
-
| other,: | other vector to interpolate between |
| d,: | value between 0.0f and 1.0f. |
| void Legion::Vector4d::invert |
( |
| ) |
|
|
inline |
| bool Legion::Vector4d::isBetweenPoints |
( |
const Vector4d & |
begin, |
|
|
const Vector4d & |
end |
|
) |
| const |
|
inline |
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::Vector4d::isZero |
( |
| ) |
|
|
inline |
| double Legion::Vector4d::length |
( |
| ) |
const |
|
inline |
| double Legion::Vector4d::lengthSquared |
( |
| ) |
const |
|
inline |
| double Legion::Vector4d::normalize |
( |
| ) |
|
|
inline |
| bool Legion::Vector4d::operator!= |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
| Vector4d Legion::Vector4d::operator* |
( |
double |
scalar | ) |
const |
|
inline |
| Vector4d& Legion::Vector4d::operator*= |
( |
double |
scalar | ) |
|
|
inline |
| Vector4d Legion::Vector4d::operator- |
( |
| ) |
const |
|
inline |
| Vector4d Legion::Vector4d::operator/ |
( |
double |
scalar | ) |
const |
|
inline |
| Vector4d& Legion::Vector4d::operator/= |
( |
double |
scalar | ) |
|
|
inline |
| bool Legion::Vector4d::operator< |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
| bool Legion::Vector4d::operator<= |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
| bool Legion::Vector4d::operator== |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
| bool Legion::Vector4d::operator> |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
| bool Legion::Vector4d::operator>= |
( |
const Vector4d & |
vec | ) |
const |
|
inline |
| void Legion::Vector4d::setLength |
( |
double |
newLength | ) |
|
|
inline |
| double Legion::Vector4d::data[4] |
| double Legion::Vector4d::w |
| double Legion::Vector4d::x |
| double Legion::Vector4d::y |
| double Legion::Vector4d::z |
The documentation for this class was generated from the following file: