Loading...
Searching...
No Matches
Namespaces | Functions
transform.h File Reference

Basic matrix transformations. More...

#include "core/vec.h"
#include "core/mat.h"

Go to the source code of this file.

Namespaces

namespace  bbm
 

Functions

template<typename T >
mat3d< std::decay_t< T > > rotationX (const vec2d< T > &cossin)
 Rotation around the X-axis.
 
template<typename T >
mat3d< std::decay_t< T > > rotationX (T angle)
 Rotation around the X-axis.
 
template<typename T >
mat3d< std::decay_t< T > > rotationY (const vec2d< T > &cossin)
 Rotation around the Y-axis.
 
template<typename T >
mat3d< std::decay_t< T > > rotationY (T angle)
 Rotation around the Y-axis.
 
template<typename T >
mat3d< std::decay_t< T > > rotationZ (const vec2d< T > &cossin)
 Rotation around the Z-axis.
 
template<typename T >
mat3d< std::decay_t< T > > rotationZ (T angle)
 Rotation around the Z-axis.
 
template<typename T >
mat2d< std::decay_t< T > > rotation2d (const vec2d< T > &cossin)
 2D rotation matrix
 
template<typename T >
mat2d< std::decay_t< T > > rotation2d (T angle)
 2D rotation matrix
 

Detailed Description

Basic matrix transformations.