Mathter
A configurable 3D math library for game developers.
Namespaces | Functions
QuaternionVectorArithmetic.hpp File Reference
#include "QuaternionImpl.hpp"

Go to the source code of this file.

Namespaces

 mathter
 

Functions

template<class T , bool QPacked, bool PackedA>
Vector< T, 3, PackedA > mathter::operator* (const Quaternion< T, QPacked > &q, const Vector< T, 3, PackedA > &vec)
 Rotates (and scales) vector by quaternion. More...
 
template<class T , bool QPacked, bool PackedA>
Vector< T, 3, PackedA > mathter::operator* (const Vector< T, 3, PackedA > &vec, const Quaternion< T, QPacked > &q)
 Rotates (and scales) vector by quaternion. More...
 
template<class T , bool QPacked, bool PackedA>
Vector< T, 3, PackedA > & mathter::operator*= (Vector< T, 3, PackedA > &vec, const Quaternion< T, QPacked > &q)
 Rotates (and scales) vector by quaternion. More...