VOX
A little voxel engine
Loading...
Searching...
No Matches
Mat4 Class Reference

#include <Transform.hpp>

Collaboration diagram for Mat4:
Collaboration graph

Public Member Functions

 Mat4 (const glm::dmat4 &mat=glm::dmat4(1.0))
 
glm::dmat4 dmat () const
 
glm::mat4 mat () const
 
Mat4translate (const glm::dvec3 &vec)
 
Mat4rotate (double angle, const glm::dvec3 &axis)
 
Mat4scale (const glm::dvec3 &vec)
 

Constructor & Destructor Documentation

◆ Mat4()

Mat4::Mat4 ( const glm::dmat4 &  mat = glm::dmat4(1.0))
inline

Member Function Documentation

◆ dmat()

glm::dmat4 Mat4::dmat ( ) const
inline

◆ mat()

glm::mat4 Mat4::mat ( ) const
inline

◆ rotate()

Mat4 & Mat4::rotate ( double  angle,
const glm::dvec3 &  axis 
)
inline

◆ scale()

Mat4 & Mat4::scale ( const glm::dvec3 &  vec)
inline

◆ translate()

Mat4 & Mat4::translate ( const glm::dvec3 &  vec)
inline

The documentation for this class was generated from the following file: