Class QuadWord
Defined in File QuadWord.hpp
Inheritance Relationships
Derived Type
public tf2::Quaternion(Class Quaternion)
Class Documentation
-
class QuadWord
The QuadWord class is base class for Vector3 and Quaternion. Some issues under PS3 Linux with IBM 2.1 SDK, gcc compiler prevent from using aligned quadword.
Subclassed by tf2::Quaternion
Public Functions
-
inline operator tf2Scalar*()
operator tf2Scalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons.
-
inline void setValue(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z)
Set x,y,z and zero w.
- Parameters:
x – Value of x
y – Value of y
z – Value of z
-
inline void setValue(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w)
Set the values.
- Parameters:
x – Value of x
y – Value of y
z – Value of z
w – Value of w
-
inline QuadWord()
No initialization constructor.
-
inline QuadWord(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z)
Three argument constructor (zeros w)
- Parameters:
x – Value of x
y – Value of y
z – Value of z
-
inline QuadWord(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w)
Initializing constructor.
- Parameters:
x – Value of x
y – Value of y
z – Value of z
w – Value of w
-
inline operator tf2Scalar*()