]> git.jsancho.org Git - lugaru.git/commitdiff
Removed unused members in Model class
authorCôme Chilliet <come@chilliet.eu>
Wed, 4 Jan 2017 13:28:57 +0000 (14:28 +0100)
committerCôme Chilliet <come@chilliet.eu>
Wed, 4 Jan 2017 13:28:57 +0000 (14:28 +0100)
Source/Graphic/Models.cpp
Source/Graphic/Models.hpp

index dc81be20ac52336516f1e3ff2c89f1185415a76d..d414dbde0f343b70a19c18bc7e2c80bdb39d538d 100644 (file)
@@ -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),
index ecfb3dd8cb46028216f1b14155714796defe2490..eb4ef0909383af7d88045a987644504be07fc186 100644 (file)
@@ -64,9 +64,8 @@ class Model
 {
 public:
     short vertexNum;
-    bool hastexture;
 
-    int type, oldtype;
+    int type;
 
     int* owner;
     XYZ* vertex;