#include <cmath>Go to the source code of this file.
Functions | |
| template<class Type> | |
| bool | invert (const Type *src, Type *inverse, int order) |
| bool invert | ( | const Type * | src, | |
| Type * | inverse, | |||
| int | order | |||
| ) | [inline] |
This method is used to get the inverse of a order*order matrix.
It actually came from from Nate Robins' OpenGL Tutors.
I contacted him via email (nate@pobox.com) on Sunday 25, January 2004 and got the OK from him to use it before I went ahead and used it.
Beginning of the source code file projection.c:
projection.c
Nate Robins, 1997
Tool for teaching about OpenGL projections.
1.5.2