*******************************************************************************/
#include "Character.hh"
+#include "Log.hh"
-#include <iostream>
Character::Character(const std::string& name) :
tilemap_(name),
break;
}
- std::cout << "current force: " << current.force << std::endl;
+ Mf::logInfo("current force [%f %f]", current.force[0], current.force[1]);
}
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]);