[gegl/samplers] cosmetic
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/samplers] cosmetic
- Date: Wed, 22 Jun 2011 23:52:52 +0000 (UTC)
commit 0679b0f030661de1ab1a2e0fdb4e9009a03582e4
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date: Wed Jun 22 19:52:39 2011 -0400
cosmetic
gegl/buffer/gegl-sampler-lohalo.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 20cbb6b..3e9c132 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -642,11 +642,13 @@ nohalo_subdivision (const gfloat uno_two,
const gfloat newval_uno_one =
(gfloat) 0.25
*
- ( dos_two + dos_thr + tre_two + tre_thr
+ (
+ dos_two + dos_thr + tre_two + tre_thr
+
(gfloat) 0.5
*
- ( dos_two_x - dos_thr_x + tre_two_x - tre_thr_x
+ (
+ dos_two_x - dos_thr_x + tre_two_x - tre_thr_x
+
dos_two_y + dos_thr_y - tre_two_y - tre_thr_y
)
@@ -1234,7 +1236,7 @@ gegl_sampler_lohalo_get ( GeglSampler* restrict self,
/*
* (x_0,y_0) is the relative position of the sampling location
- * w.r.t. the anchor pixel.
+ * w.r.t. the anchor pixel:
*/
const gfloat x_0 = absolute_x - ix_0;
const gfloat y_0 = absolute_y - iy_0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]