mirror of
https://github.com/quantum5/punyverse.git
synced 2025-04-24 13:11:57 -04:00
Objects no longer flicker when being far (10x improvement). Close objects are not displayed very well.
This commit is contained in:
parent
8416ed64e6
commit
1b2bd928cc
|
@ -224,7 +224,7 @@ class Applet(pyglet.window.Window):
|
|||
glMatrixMode(GL_PROJECTION)
|
||||
glLoadIdentity()
|
||||
# A field of view of 45
|
||||
gluPerspective(45.0, width / float(height), 0.1, 50000000.0)
|
||||
gluPerspective(45.0, width / float(height), 1, 50000000.0)
|
||||
glMatrixMode(GL_MODELVIEW)
|
||||
|
||||
def on_mouse_scroll(self, x, y, scroll_x, scroll_y):
|
||||
|
|
Loading…
Reference in a new issue