- code cleanup from cppcheck

This commit is contained in:
Mark Vejvoda
2012-10-06 02:10:23 +00:00
parent 1a7f3d50ca
commit c39da4cd69
8 changed files with 33 additions and 8 deletions

View File

@@ -52,7 +52,13 @@ protected:
MeshCallback *meshCallback;
public:
ModelRenderer() {meshCallback= NULL;}
ModelRenderer() {
renderNormals = false;
renderTextures = false;
renderColors = false;
meshCallback= NULL;
}
virtual ~ModelRenderer(){};

View File

@@ -47,6 +47,8 @@ Mesh::Mesh() {
vertexCount= 0;
indexCount= 0;
texCoordFrameCount = 0;
opacity = 0.0f;
specularPower = 0.0f;
vertices= NULL;
normals= NULL;