diff --git a/include/meshio/meshio_defines.hpp b/include/meshio/meshio_defines.hpp deleted file mode 100644 index b523c86..0000000 --- a/include/meshio/meshio_defines.hpp +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) 2015, Lakshman Anumolu, Pradeep Garigipati - * All rights reserved. - * - * This file is part of MeshIO whose distribution is governed by - * the BSD 2-Clause License contained in the accompanying LICENSE.txt - * file. - */ - -#ifndef __MESHIO_DEFINES_HPP__ -#define __MESHIO_DEFINES_HPP__ - -#include - -#include "vectors.hpp" - -namespace meshio { - -template -class Mesh { - public: - std::vector< Vec4 > mPositions; - std::vector< Vec3 > mNormals; - std::vector< Vec2 > mTexcoords; - std::vector< Vec4 > mColors; - std::vector< unsigned > mIndices; - - Mesh() {} - - ~Mesh() { - this->clear(); - } - - void resize(unsigned pSize) { - mPositions.resize(pSize); - mNormals.resize(pSize); - mTexcoords.resize(pSize); - mColors.resize(pSize); - } - - void resizeIndices(unsigned pSize) { - mIndices.resize(pSize); - } - - void clear() { - mPositions.clear(); - mNormals.clear(); - mTexcoords.clear(); - mColors.clear(); - mIndices.clear(); - } -}; - -} - -#endif // __MESHIO_DEFINES_HPP__