diff --git a/lib/objects/camera.rb b/lib/objects/camera.rb index 7757050..3e89b69 100644 --- a/lib/objects/camera.rb +++ b/lib/objects/camera.rb @@ -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 diff --git a/pixel_test.png b/pixel_test.png new file mode 100644 index 0000000..819f819 Binary files /dev/null and b/pixel_test.png differ