raylib-cpp icon indicating copy to clipboard operation
raylib-cpp copied to clipboard

Add operator>= and operator<= on Vector

Open bensuperpc opened this issue 2 years ago • 2 comments

Add operator>= and operator<= on Vector

Signed-off-by: Bensuperpc [email protected]

bensuperpc avatar May 11 '22 23:05 bensuperpc

Thanks @bensuperpc! Should we instead compare their magnitudes instead? Comparing their individual coordinates may not get the desired results.... In raylib, the lengths.

RobLoach avatar May 12 '22 00:05 RobLoach

Thanks @bensuperpc! Should we instead compare their magnitudes instead? Comparing their individual coordinates may not get the desired results.... In raylib, the lengths.

I improved this PR, What do you think ?

bensuperpc avatar May 12 '22 11:05 bensuperpc