chore: remove startup sphere log
This commit is contained in:
parent
4d1d2ed477
commit
be40086eae
|
@ -1,12 +1,9 @@
|
|||
#include "icosphere.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <array>
|
||||
|
||||
#include "glm/gtc/matrix_transform.hpp"
|
||||
|
||||
#include "gfx.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
|
||||
Icosphere::Icosphere(float radius, int subdivisions, GLuint shaderProgram) :
|
||||
_shaderProgram(shaderProgram),
|
||||
_position({})
|
||||
|
@ -48,10 +45,6 @@ void Icosphere::generateVertices(float radius, int subdivisions)
|
|||
{
|
||||
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
|
||||
// unit sphere
|
||||
|
|
Loading…
Reference in New Issue