#include #include #include class Torus { private: int numVertices; int numIndices; int prec; float inner; float outer; std::vector indices; std::vector vertices; std::vector texCoords; std::vector normals; std::vector sTangents; std::vector tTangents; void init(); float toRadians(float degrees); public: Torus(); Torus(float innerRadius,float outerRadius,int prec); int getNumVertices(); int getNumIndices(); std::vector getIndices(); std::vector getVertices(); std::vector getTexCoords(); std::vector getNormals(); std::vector getStangents(); std::vector getTtangents(); };