diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-12-10 11:58:11 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-12-10 11:58:54 -0800 |
commit | a8ab3d7cff5a7dc3085fd592109866b2d8700e30 (patch) | |
tree | 953d6bfd4cec19312a274b57c82d183d0cfc36b0 | |
parent | e4604c5f985cdd2b3b8b234fb448b42006e41b3d (diff) |
ray: trivial formatting changes
Remove some extraneous indentation
-rw-r--r-- | src/modules/ray/ray.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/modules/ray/ray.c b/src/modules/ray/ray.c index edf2817..8688ad9 100644 --- a/src/modules/ray/ray.c +++ b/src/modules/ray/ray.c @@ -97,24 +97,24 @@ static ray_object_t lights[] = { }; static ray_camera_t camera = { - .position = { .x = 0.0, .y = 0.0, .z = 6.0 }, - .orientation = { - .order = RAY_EULER_ORDER_YPR, /* yaw,pitch,roll */ - .yaw = RAY_EULER_DEGREES(0.0f), - .pitch = RAY_EULER_DEGREES(0.0f), - .roll = RAY_EULER_DEGREES(0.0f), - }, - .focal_length = 700.0f, - }; + .position = { .x = 0.0, .y = 0.0, .z = 6.0 }, + .orientation = { + .order = RAY_EULER_ORDER_YPR, /* yaw,pitch,roll */ + .yaw = RAY_EULER_DEGREES(0.0f), + .pitch = RAY_EULER_DEGREES(0.0f), + .roll = RAY_EULER_DEGREES(0.0f), + }, + .focal_length = 700.0f, +}; static ray_scene_t scene = { - .objects = objects, - .lights = lights, - .ambient_color = { .x = 1.0f, .y = 1.0f, .z = 1.0f }, - .ambient_brightness = .04f, - }; + .objects = objects, + .lights = lights, + .ambient_color = { .x = 1.0f, .y = 1.0f, .z = 1.0f }, + .ambient_brightness = .04f, +}; -static float r; +static float r; static int ray_fragmenter(void *context, const fb_fragment_t *fragment, unsigned num, fb_fragment_t *res_fragment) |