TINYGL: fix typo in name

This commit is contained in:
Pawel Kolodziejski 2014-07-10 07:21:26 +02:00
parent a5099e9a6b
commit 9240d64348
3 changed files with 3 additions and 3 deletions

View File

@ -184,7 +184,7 @@ void glopFrustum(GLContext *c, GLParam *p) {
float top = p[4].f;
float nearp = p[5].f;
float farp = p[6].f;
Matrix4 m = Matrix4::frustrum(left, right, bottom, top, nearp, farp);
Matrix4 m = Matrix4::frustum(left, right, bottom, top, nearp, farp);
*c->matrix_stack_ptr[c->matrix_mode] *= m;

View File

@ -277,7 +277,7 @@ void Matrix4::invert() {
MatrixInverse((float *)this->_m);
}
Matrix4 Matrix4::frustrum(float left, float right, float bottom, float top, float nearp, float farp) {
Matrix4 Matrix4::frustum(float left, float right, float bottom, float top, float nearp, float farp) {
float x, y, A, B, C, D;
x = (float)((2.0 * nearp) / (right - left));

View File

@ -198,7 +198,7 @@ public:
Matrix4 inverseOrtho() const;
Matrix4 inverse() const;
static Matrix4 frustrum(float left, float right, float bottom, float top, float nearp, float farp);
static Matrix4 frustum(float left, float right, float bottom, float top, float nearp, float farp);
inline void transform(const Vector3 &vector, Vector3 &out) const {
out.X = vector.X * _m[0][0] + vector.Y * _m[0][1] + vector.Z * _m[0][2] + _m[0][3];