diff options
Diffstat (limited to 'sdl/GL_notes.txt')
-rw-r--r-- | sdl/GL_notes.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sdl/GL_notes.txt b/sdl/GL_notes.txt index 0a19bbb..23795e9 100644 --- a/sdl/GL_notes.txt +++ b/sdl/GL_notes.txt @@ -75,3 +75,9 @@ Vertex Shader--you can write code for tasks such as: - Lighting per vertex or computing values for lighting per pixel - Color computation +Fixed Functionality Pipeline +- glTranslatef: can be mimicked by building m3dTranslationMatrix44f +- glRotatef: can be mimicked by building m3dRotationMatrix44f +- Both of the matrices can be combined by multiplying them, and loaded by using glLoadMatrixf, + but more efficient way is to let OpenGL do the multiplication for you by using glMultMatrixf + |