#pragma once #include #define GLEW_STATIC #include #include #include "clock.h" struct Sphere { vec4 cr; vec3 albedo; int material; }; void makeSpheres(struct Sphere *spheres, int count); struct Sphere makeSphere(vec3 center, float radius, vec3 albedo, int material); //void updateSphereUniform(GLuint shaderProgram, struct Sphere sphere); void updateSphereUniforms(GLuint shaderProgram, struct Sphere *spheres, int count);