JOML-CI / JOML

A Java math library for OpenGL rendering calculations
MIT License
726 stars 104 forks source link

Vector2f.round() is actually ceiling #314

Closed xupwup closed 2 years ago

xupwup commented 2 years ago

See https://github.com/JOML-CI/JOML/blob/7c8a18f05c6de207dfd7feb5c53b63a6aaeb7c3d/src/org/joml/Vector2f.java#L1227-L1231 And https://github.com/JOML-CI/JOML/blob/7c8a18f05c6de207dfd7feb5c53b63a6aaeb7c3d/src/org/joml/Vector2f.java#L1233-L1237

round() behaves differently from round(Vector2f dest)

httpdigest commented 2 years ago

Thanks for reporting!