From d5f64d3689e1ce594e22ad0f6d372cee143872fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Wed, 4 Jan 2017 14:28:57 +0100 Subject: [PATCH] Removed unused members in Model class --- Source/Graphic/Models.cpp | 3 +-- Source/Graphic/Models.hpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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; -- 2.39.5