[GB.OPENGL.GLU]

* BUG: Fix typos in Glu.Project and associated methods.


git-svn-id: svn://localhost/gambas/trunk@5367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2012-11-25 10:46:15 +00:00
parent 7af5ee2344
commit 0f42c71746

View file

@ -39,9 +39,9 @@ BEGIN_METHOD(GLUPROJECT, GB_FLOAT ObjX; GB_FLOAT ObjY; GB_FLOAT ObjZ; GB_OBJECT
}
for (i=0; i<16; i++)
view[i] = *((GLdouble *)GB.Array.Get(VARG(Model),i));
model[i] = *((GLdouble *)GB.Array.Get(VARG(Model),i));
for (i=0; i<16; i++)
view[i] = *((GLdouble *)GB.Array.Get(VARG(Proj),i));
proj[i] = *((GLdouble *)GB.Array.Get(VARG(Proj),i));
for (i=0; i<4; i++)
view[i] = *((GLint *)GB.Array.Get(VARG(View),i));
@ -77,9 +77,9 @@ BEGIN_METHOD(GLUUNPROJECT, GB_FLOAT WinX; GB_FLOAT WinY; GB_FLOAT WinZ; GB_OBJEC
}
for (i=0; i<16; i++)
view[i] = *((GLdouble *)GB.Array.Get(VARG(Model),i));
model[i] = *((GLdouble *)GB.Array.Get(VARG(Model),i));
for (i=0; i<16; i++)
view[i] = *((GLdouble *)GB.Array.Get(VARG(Proj),i));
proj[i] = *((GLdouble *)GB.Array.Get(VARG(Proj),i));
for (i=0; i<4; i++)
view[i] = *((GLint *)GB.Array.Get(VARG(View),i));
@ -114,9 +114,9 @@ BEGIN_METHOD(GLUUNPROJECT4, GB_FLOAT WinX; GB_FLOAT WinY; GB_FLOAT WinZ; GB_FLOA
}
for (i=0; i<16; i++)
view[i] = *((GLdouble *)GB.Array.Get(VARG(Model),i));
model[i] = *((GLdouble *)GB.Array.Get(VARG(Model),i));
for (i=0; i<16; i++)
view[i] = *((GLdouble *)GB.Array.Get(VARG(Proj),i));
proj[i] = *((GLdouble *)GB.Array.Get(VARG(Proj),i));
for (i=0; i<4; i++)
view[i] = *((GLint *)GB.Array.Get(VARG(View),i));