removed all ../ entries and made a basic inc path (dependencies are currently broke)
[physics.git] / src / graphics / graphics.cpp
index d9e1dcc..537cdc8 100644 (file)
  */
 
 #include "graphics.h"
-#include "../debug.h"
+#include "debug.h"
 
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <SDL/SDL.h>
 #include <cmath>
 
-#include "../mathw.h"
+#include "mathw.h"
+
+#include <iostream>
+using std::cerr;
+using std::cout;
+using std::endl;
 
 
 /// ***** Private Method Headers *****
@@ -109,4 +114,14 @@ void glInit()
     glLoadIdentity();
 
     glEnable(GL_DEPTH_TEST);
+
+    // anti aliasing?
+    /*
+    glEnable(GL_BLEND);
+    glEnable(GL_POLYGON_SMOOTH_HINT);
+
+    glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE);
+
+    glHint(GL_POLYGON_SMOOTH_HINT, GL_DONT_CARE);
+    */
 }