13
0

include alpha-delta computation in HSV::delta()

This commit is contained in:
Paul Davis 2014-12-05 09:00:36 -05:00
parent d0a18a8c35
commit 207fd04587

View File

@ -376,6 +376,7 @@ HSV::delta (const HSV& other) const
d.s = s - other.s;
d.v = v - other.v;
}
d.a = a - other.a;
/* do not clamp - we are returning a delta */
return d;
}