summaryrefslogtreecommitdiff
path: root/src/bicubic_table.py
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-07-31 21:19:18 +0200
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 06:24:18 -0400
commita0c4a949cb49e5ac1e857aef08a8742b9f7b49da (patch)
tree34f51ec8f9cef03df3aecaed12ff5418ed25b1e0 /src/bicubic_table.py
parentabb2b2e757d92591ab9277824b9d9746ba98f875 (diff)
Remove uneeded negations.
Diffstat (limited to 'src/bicubic_table.py')
-rwxr-xr-xsrc/bicubic_table.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bicubic_table.py b/src/bicubic_table.py
index 53c5c3bc..69cd402e 100755
--- a/src/bicubic_table.py
+++ b/src/bicubic_table.py
@@ -15,7 +15,7 @@ def texgen(pix):
w2 = 1 / 6.0 * (-3 * a3 + 3 * a2 + 3 * a + 1)
w3 = 1 / 6.0 * a3
- tex.append(1 - (w1 / (w0 + w1)) + a)
+ tex.append(-(1 - (w1 / (w0 + w1)) + a))
tex.append(1 + (w3 / (w2 + w3)) - a)
tex.append(w0 + w1)
tex.append(w2 + w3)