summaryrefslogtreecommitdiffstats
path: root/libdimension/render/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/render/render.c')
-rw-r--r--libdimension/render/render.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libdimension/render/render.c b/libdimension/render/render.c
index 842b41e..c0878a0 100644
--- a/libdimension/render/render.c
+++ b/libdimension/render/render.c
@@ -189,10 +189,7 @@ dmnsn_rtstate_initialize(dmnsn_rtstate *state,
state->interior = intersection->object->interior;
state->r = dmnsn_ray_point(intersection->ray, intersection->t);
- state->pigment_r = dmnsn_transform_point(
- intersection->object->pigment_trans,
- state->r
- );
+ state->pigment_r = dmnsn_transform_point(intersection->object->pigment_trans, state->r);
state->viewer = dmnsn_vector_normalized(
dmnsn_vector_negate(intersection->ray.n)
);