SimpleNGL 1.0
include/NGLMath.h
Go to the documentation of this file.
00001 #ifndef NGLMATH_H
00002 #define NGLMATH_H
00003 
00004 #include "ngl/Matrix.h"
00005 #include "ngl/Vector.h"
00006 #include "math.h"
00007 
00010 inline float cotan(const float &_i) { return(1 / tan(_i)); }
00011 
00017 ngl::Matrix Lookat(const ngl::Vector &_eye, const ngl::Vector &_target,const ngl::Vector &_lookup);
00018 
00022 ngl::Matrix Adj( const ngl::Matrix &_mat );
00023 
00027 float Det( const ngl::Matrix &_mat );
00028 
00032 ngl::Matrix Inverse( const ngl::Matrix &_mat );
00033 
00034 #endif // NGLMATH_H
 All Classes Namespaces Files Functions Variables Enumerations Enumerator