projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed all ../ entries and made a basic inc path (dependencies are currently broke)
[physics.git]
/
src
/
graphics
/
graphics.cpp
diff --git
a/src/graphics/graphics.cpp
b/src/graphics/graphics.cpp
index
d9e1dcc
..
537cdc8
100644
(file)
--- a/
src/graphics/graphics.cpp
+++ b/
src/graphics/graphics.cpp
@@
-16,14
+16,19
@@
*/
#include "graphics.h"
*/
#include "graphics.h"
-#include "
../
debug.h"
+#include "debug.h"
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL/SDL.h>
#include <cmath>
#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 *****
/// ***** Private Method Headers *****
@@
-109,4
+114,14
@@
void glInit()
glLoadIdentity();
glEnable(GL_DEPTH_TEST);
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);
+ */
}
}