Use modff (on float) instead of modf (on double) for computing alpha values to improve performance.
Double prevision was unnecessary since the number was converted to 0-4096, which only has 12 bits of precision.
Authored by: david_costanzo 2022-01-17
Parent: [r5875]
Child: [r5877]