From a8ab3d7cff5a7dc3085fd592109866b2d8700e30 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 10 Dec 2017 11:58:11 -0800 Subject: ray: trivial formatting changes Remove some extraneous indentation --- src/modules/ray/ray.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/modules/ray') 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) -- cgit v1.2.1