Compare commits
2 Commits
82fe146549
...
ce6376df81
Author | SHA1 | Date |
---|---|---|
ktyl | ce6376df81 | |
ktyl | 16c3e46930 |
|
@ -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);
|
||||
|
||||
|
|
11
src/sphere.c
11
src/sphere.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue