Compare commits

...

2 Commits

Author SHA1 Message Date
ktyl ce6376df81 remove unused array 2023-03-01 00:55:31 +00:00
ktyl 16c3e46930 reduce image size 2023-03-01 00:55:21 +00:00
2 changed files with 2 additions and 13 deletions

View File

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

View File

@ -2,17 +2,6 @@
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;