chore: remove startup sphere log

This commit is contained in:
Cat Flynn 2024-09-29 00:12:36 +01:00
parent 4d1d2ed477
commit be40086eae
1 changed files with 3 additions and 10 deletions

View File

@ -1,12 +1,9 @@
#include "icosphere.hpp" #include "icosphere.hpp"
#include <iostream>
#include <array>
#include "glm/gtc/matrix_transform.hpp"
#include "gfx.hpp" #include "gfx.hpp"
#include <array>
#include <glm/gtc/matrix_transform.hpp>
Icosphere::Icosphere(float radius, int subdivisions, GLuint shaderProgram) : Icosphere::Icosphere(float radius, int subdivisions, GLuint shaderProgram) :
_shaderProgram(shaderProgram), _shaderProgram(shaderProgram),
_position({}) _position({})
@ -48,10 +45,6 @@ void Icosphere::generateVertices(float radius, int subdivisions)
{ {
triangles = subdivide(vertices, triangles); triangles = subdivide(vertices, triangles);
} }
std::cout <<
"subdivisions: " << subdivisions <<
" vertices: " << vertices.size() <<
" triangles: " << triangles.size() << std::endl;
// Scale vertices by radius after subdivision as subdivision happens on a // Scale vertices by radius after subdivision as subdivision happens on a
// unit sphere // unit sphere