Add support for smoothing

This commit is contained in:
2018-03-04 15:30:10 -06:00
parent ce1f95ea45
commit df97ab4528
4 changed files with 22 additions and 11 deletions

View File

@@ -42,7 +42,6 @@ class IMICFPS
def render
gl do
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) # clear the screen and the depth buffer
glShadeModel(GL_SMOOTH)
#glMatrixMode(matrix) indicates that following [matrix] is going to get used
glMatrixMode(GL_PROJECTION) # The projection matrix is responsible for adding perspective to our scene.