From b65e36b22384a138e04ac9a49cbce9878e5e3366 Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Mon, 10 Feb 2020 02:53:07 +0000 Subject: [PATCH] Remove unused vars --- material.cpp | 1 - material.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/material.cpp b/material.cpp index 32bf9e0..9ed7e90 100644 --- a/material.cpp +++ b/material.cpp @@ -35,7 +35,6 @@ Material::Texture::Texture(const aiString fileName, const aiScene &scene) { glBindTexture(GL_TEXTURE_2D, texId); std::string path; - unsigned char *data; if (fileName.data[0] == '*') { // embedded int embIdx = atoi(&fileName.data[1]); diff --git a/material.hpp b/material.hpp index c814c9e..cb3d49e 100644 --- a/material.hpp +++ b/material.hpp @@ -13,7 +13,6 @@ class Material { private: GLuint progId; aiColor4D ambient, diffuse, specular; - ai_real shininess, reflectivity, refractiveIndex, opacity; struct Texture { Texture(const aiString file, const aiScene &aiScene); -- 2.30.2