![]() |
Scanframe Modular Application 0.1.0
|
Go to the source code of this file.
Classes | |
class | sf::TQuaternion< T > |
Generic type Quaternion. More... | |
union | sf::TQuaternion< T >::data_type |
Storage union of the 3D coordinate making the x,y,z,w accessible as an array. More... | |
struct | sf::TQuaternion< T >::data_type::quat_type |
Namespaces | |
namespace | sf |
Functions | |
template<typename T > | |
TQuaternion< T > | sf::operator+ (const TQuaternion< T > &lhs, const TQuaternion< T > &rhs) |
Adds two quaternions. | |
template<typename T > | |
TQuaternion< T > | sf::operator- (const TQuaternion< T > &lhs, const TQuaternion< T > &rhs) |
Subtracts two quaternions. | |
template<typename T > | |
TQuaternion< T > | sf::operator* (const TQuaternion< T > &lhs, const TQuaternion< T > &rhs) |
Multiplies two quaternions. | |
template<typename T > | |
TQuaternion< T > | sf::operator/ (const TQuaternion< T > &lhs, const TQuaternion< T > &rhs) |
Divides two quaternions. | |
template<typename T > | |
TQuaternion< T > | sf::operator* (T c, const TQuaternion< T > &quat) |
Multiplies a scalar value with a quaternion. | |
template<typename T > | |
std::ostream & | sf::operator<< (std::ostream &os, const TQuaternion< T > &quat) |
Operator for writing the sf::TQuaternion to an output-stream. Calls TQuaternion::toString() for the operator. | |
template<typename T > | |
std::istream & | sf::operator>> (std::istream &is, TQuaternion< T > &quat) noexcept(false) |
Operator for reading the sf::TQuaternion from an input stream. Calls TQuaternion<T>::fromString() to perform this operator. | |