The small3d library
Public Member Functions | Public Attributes | List of all members
small3d::Mat4 Class Reference

4x4 float matrix More...

#include <Math.hpp>

Public Member Functions

 Mat4 (float v)
 
 Mat4 (Vec4 r0, Vec4 r1, Vec4 r2, Vec4 r3)
 
 Mat4 (float r0x, float r0y, float r0z, float r0w, float r1x, float r1y, float r1z, float r1w, float r2x, float r2y, float r2z, float r2w, float r3x, float r3y, float r3z, float r3w)
 
Vec4operator[] (int idx)
 
Mat4 operator- (const Mat4 &other) const
 
Mat4 operator* (const Mat4 &other) const
 
Vec4 operator* (const Vec4 &vec) const
 
Mat4operator*= (const Mat4 &other)
 
Mat4operator/= (const float div)
 
Mat4operator= (const Mat4 &other)
 
template<class Archive >
void serialize (Archive &archive)
 

Public Attributes

Vec4 data [4]
 

Detailed Description

4x4 float matrix


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