Compare commits

..
2 Commits
3 changed files with 5 additions and 5 deletions

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# vim:filetype=python # vim:filetype=python
env = Environment(LIBS = ['GL']) env = Environment(LIBS = ['GL'], CXXFLAGS = ['-Wall'])
env.Program('driver', Glob('*.cc')) env.Program('driver', Glob('*.cc'))
+1 -1
View File
@@ -122,7 +122,7 @@ WFObj::~WFObj()
void WFObj::clear() void WFObj::clear()
{ {
for (int i = 0; i < sizeof(m_vertices)/sizeof(m_vertices[0]); i++) for (size_t i = 0; i < sizeof(m_vertices)/sizeof(m_vertices[0]); i++)
m_vertices[i].clear(); m_vertices[i].clear();
m_faces.clear(); m_faces.clear();
m_materials.clear(); m_materials.clear();
+3 -3
View File
@@ -92,9 +92,9 @@ protected:
{ {
public: public:
VertexRef() : vertex(0), texture(0), normal(0) {} VertexRef() : vertex(0), texture(0), normal(0) {}
int vertex; size_t vertex;
int texture; size_t texture;
int normal; size_t normal;
bool operator<(const VertexRef & other) const; bool operator<(const VertexRef & other) const;
}; };