]> Dogcows Code - chaz/yoink/blobdiff - src/Character.cc
more featureful sound class
[chaz/yoink] / src / Character.cc
index 873f9e13c74db5a2103ddb893d27af2ac010f9b1..1b184fa2d0160ad353ef3645823d25626397b3cf 100644 (file)
@@ -26,6 +26,8 @@
 
 *******************************************************************************/
 
+#include <iostream>
+
 #include "Character.hh"
 #include "Log.hh"
 
@@ -125,7 +127,8 @@ void Character::handleEvent(const Mf::Event& event)
                        break;
        }
 
-       Mf::logInfo("current force [%f %f]", current.force[0], current.force[1]);
+       //Mf::logInfo("current force [%f %f]", current.force[0], current.force[1]);
+       //std::cerr << "current force: " << current.force << std::endl;
 }
 
 
@@ -143,7 +146,7 @@ void Character::draw(Mf::Scalar alpha) const
 
        Mf::Scalar s = 16.0;
 
-       glBegin(GL_QUADS);
+       glBegin(GL_TRIANGLE_FAN);
                glTexCoord2f(coords[0], coords[1]);
                glVertex3(state.position[0]-s, state.position[1]-s, z);
                glTexCoord2f(coords[2], coords[3]);
This page took 0.019921 seconds and 4 git commands to generate.