Compare commits
No commits in common. "ce6376df81162c7ce712b79f94deb7a14db5c3fc" and "82fe146549f876f251b34f565cfc48dfe3b8bc7b" have entirely different histories.
ce6376df81
...
82fe146549
|
@ -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);
|
||||
|
||||
|
|
11
src/sphere.c
11
src/sphere.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue