Searched refs:oppAmount (Results 1 – 1 of 1) sorted by relevance
198 float oppAmount = 1.0f - amount; in mixBytes() local199 const float alpha = start.a * oppAmount + end.a * amount; in mixBytes()202 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount)); in mixBytes()203 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount)); in mixBytes()204 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount)); in mixBytes()210 float oppAmount = 1.0f - amount; in mixFloats() local211 const float a = start.a * oppAmount + end.a * amount; in mixFloats()214 *d++ = a * (start.r * oppAmount + end.r * amount); in mixFloats()215 *d++ = a * (start.g * oppAmount + end.g * amount); in mixFloats()216 *d++ = a * (start.b * oppAmount + end.b * amount); in mixFloats()