Antkeeper  0.0.1
Classes | Namespaces | Functions
transform.hpp File Reference
#include <engine/math/vector.hpp>
#include <engine/math/quaternion.hpp>
#include <engine/math/matrix.hpp>

Go to the source code of this file.

Classes

struct  math::transform< T >
 SRT transformation. More...
 

Namespaces

 math
 Mathematical functions and data types.
 
 math::operators
 Mathematical operators.
 

Functions

template<class T >
transform< T > math::inverse (const transform< T > &t) noexcept
 Calculates the inverse of a transform. More...
 
template<class T >
transform< T > math::mul (const transform< T > &x, const transform< T > &y)
 Combines two transforms. More...
 
template<class T >
constexpr vector< T, 3 > math::mul (const transform< T > &t, const vector< T, 3 > &v) noexcept
 Transforms a vector by a transform. More...
 
template<class T >
constexpr vector< T, 3 > math::mul (const vector< T, 3 > &v, const transform< T > &t) noexcept
 Transforms a vector by the inverse of a transform. More...
 
template<class T >
math::transform< T > math::operators::operator* (const math::transform< T > &x, const math::transform< T > &y)
 Combines two transforms. More...
 
template<class T >
constexpr math::vec3< T > math::operators::operator* (const math::transform< T > &t, const math::vec3< T > &v) noexcept
 
template<class T >
constexpr math::vec3< T > math::operators::operator* (const math::vec3< T > &v, const math::transform< T > &t) noexcept
 
template<class T >
math::transform< T > & math::operators::operator*= (math::transform< T > &x, const math::transform< T > &y)
 Combines two transforms and stores the result in the first transform. More...