mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 07:32:35 +00:00
Camera works!
This commit is contained in:
@@ -64,7 +64,7 @@ class IMICFPS
|
||||
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST)
|
||||
glRotatef(@pitch,1,0,0)
|
||||
glRotatef(@yaw,0,1,0)
|
||||
glTranslatef(@x, @y, @z)
|
||||
glTranslatef(-@x, @y, -@z)
|
||||
|
||||
glMatrixMode(GL_MODELVIEW) # The modelview matrix is where object information is stored.
|
||||
glLoadIdentity
|
||||
|
||||
BIN
pixel_test.png
Normal file
BIN
pixel_test.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 162 B |
Reference in New Issue
Block a user