Searched refs:oppAmount (Results 1 – 1 of 1) sorted by relevance
217 float oppAmount = 1.0f - amount; in mixBytes() local218 const float alpha = start.a * oppAmount + end.a * amount; in mixBytes()221 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount)); in mixBytes()222 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount)); in mixBytes()223 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount)); in mixBytes()229 float oppAmount = 1.0f - amount; in mixFloats() local230 const float a = start.a * oppAmount + end.a * amount; in mixFloats()233 *d++ = a * (start.r * oppAmount + end.r * amount); in mixFloats()234 *d++ = a * (start.g * oppAmount + end.g * amount); in mixFloats()235 *d++ = a * (start.b * oppAmount + end.b * amount); in mixFloats()