Added specific clamping functions to vectors, so that calling CLAMP for each element can be avoided.
Created a GTest file for math_vector.
Differential D6974
Add clamp for 2D, 3D and 4D vectors Authored by Tiago Chaves (laurelkeys) on Mar 1 2020, 2:10 AM. Tags None Subscribers None
Details Added specific clamping functions to vectors, so that calling CLAMP for each element can be avoided. Created a GTest file for math_vector.
Diff Detail
Event TimelineComment Actions Generally seems fine, one request inline. Edit, I don't have a strong opinion on this one if others prefer longer name, personally it doesn't seem necessary.
| ||||||||||||