From: Côme Chilliet Date: Wed, 4 Jan 2017 13:28:57 +0000 (+0100) Subject: Removed unused members in Model class X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=d5f64d3689e1ce594e22ad0f6d372cee143872fd;p=lugaru.git Removed unused members in Model class --- diff --git a/Source/Graphic/Models.cpp b/Source/Graphic/Models.cpp index dc81be2..d414dbd 100644 --- a/Source/Graphic/Models.cpp +++ b/Source/Graphic/Models.cpp @@ -1178,8 +1178,7 @@ void Model::deallocate() Model::Model() : vertexNum(0), - hastexture(0), - type(0), oldtype(0), + type(0), owner(0), vertex(0), normals(0), diff --git a/Source/Graphic/Models.hpp b/Source/Graphic/Models.hpp index ecfb3dd..eb4ef09 100644 --- a/Source/Graphic/Models.hpp +++ b/Source/Graphic/Models.hpp @@ -64,9 +64,8 @@ class Model { public: short vertexNum; - bool hastexture; - int type, oldtype; + int type; int* owner; XYZ* vertex;