summaryrefslogtreecommitdiffstats
path: root/libdimension/pigment.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/pigment.c')
-rw-r--r--libdimension/pigment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/pigment.c b/libdimension/pigment.c
index 8c1cc9a..3650ba3 100644
--- a/libdimension/pigment.c
+++ b/libdimension/pigment.c
@@ -71,7 +71,7 @@ dmnsn_color
dmnsn_evaluate_pigment(const dmnsn_pigment *pigment, dmnsn_vector v)
{
if (pigment->pigment_fn) {
- dmnsn_vector v_trans = dmnsn_transform_vector(pigment->trans_inv, v);
+ dmnsn_vector v_trans = dmnsn_transform_point(pigment->trans_inv, v);
return pigment->pigment_fn(pigment, v_trans);
} else {
return pigment->quick_color;