Distance squared from LinearColor A to LinearColor B. Use (distance*distance) for comparisons - i.e. (FastDistLinearColor(A,B)<=(dist*dist)), or compare two FastDistLinearColor results directly.
A
Linear Color Structure (by ref)
|
|
B
Linear Color Structure (by ref)
|
Return Value
Float
|
Distance squared from LinearColor A to LinearColor B. Use (distance*distance) for comparisons - i.e. (FastDistLinearColor(A,B)<=(dist*dist)), or compare two FastDistLinearColor results directly. |