| 86 | } |
| 87 | |
| 88 | inline u8 ModulateComponent( u8 a, u8 b ) |
| 89 | { |
| 90 | return u8( ( u32( a ) * u32( b ) ) >> 8 ); // >> 8 to return to 0..255 |
| 91 | } |
| 92 | |
| 93 | inline u8 InterpolateComponent( u8 a, u8 b, float factor ) |
| 94 | { |
no outgoing calls
no test coverage detected