From 884c16424d01fdf21e155065cdc58a30ffcb923c Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 8 Sep 2013 12:09:19 -0700 Subject: [PATCH] Change the location and size of sphere to compensate for simplified ray generation --- src/charles.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/charles.c b/src/charles.c index 3f5480f..70d2a42 100644 --- a/src/charles.c +++ b/src/charles.c @@ -32,8 +32,10 @@ main(int argc, Texture *tex = texture_init(); Color color = {255, 0, 0, 255}; texture_set_color(tex, color); + Vector3 loc = {233, 290, 0}; + object_set_location(obj, loc); object_set_texture(obj, tex); - object_sphere_set_radius(obj, 1); + object_sphere_set_radius(obj, 100); scene_add_object(scene, obj); scene_render(scene);