rewrite glRotate?
- From: "Gernot Frisch" <Me@xxxxxxxxxxx>
- Date: Mon, 29 Oct 2007 16:56:23 +0100
Hi,
I have some game engine, where you can use
glRotate/glTranslate/glPushPop stuff.
However, you can also use glMultMatrix.
Thus, in order to get a point in camera space, I have to perform all
these with gl... commands, then glGetMatrix and then I can e.g. test
for frustum culling.
Now, would it be wise to perform all the glRotate stuff myself and
thus, have the matrix already at hand, or is it better to let OpenGL
do this and use glGetMatrix?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
.
- Follow-Ups:
- Re: rewrite glRotate?
- From: fungus
- Re: rewrite glRotate?
- From: Wolfgang Draxinger
- Re: rewrite glRotate?
- Prev by Date: Re: GLSL vs NV CG
- Next by Date: Re: rewrite glRotate?
- Previous by thread: Importing blender objects into an OpenGL program
- Next by thread: Re: rewrite glRotate?
- Index(es):