Compare commits

..

No commits in common. "ce6376df81162c7ce712b79f94deb7a14db5c3fc" and "82fe146549f876f251b34f565cfc48dfe3b8bc7b" have entirely different histories.

2 changed files with 13 additions and 2 deletions

View File

@ -7,8 +7,8 @@
#include "cam.h"
#include "input.h"
const int WIDTH = 420;
const int HEIGHT = 420;
const int WIDTH = 500;
const int HEIGHT = 500;
void updateUniforms(GLuint shaderProgram, float t);

View File

@ -2,6 +2,17 @@
void makeSpheres(struct Sphere *spheres, int count, float t)
{
vec3 albedos[] =
{
{0.0,0.0,1.0},
{0.0,1.0,0.0},
{0.0,1.0,1.0},
{1.0,0.0,0.0},
{1.0,0.0,1.0},
{1.0,1.0,0.0},
{1.0,1.0,1.0}
};
vec3 sc = {0.0,0.0,1.0};
int sphereIdx = 0;