bitshifter / glam-rs

A simple and fast linear algebra library for games and graphics
Apache License 2.0
1.46k stars 145 forks source link

Add `rotate_towards` for `Vec2` and `Quat` #495

Closed chompaa closed 2 months ago

chompaa commented 4 months ago

Adds a rotate_towards function for Vec2 and Quat, based on discussion in #265, with tests.

I'm unsure if these tests are comprehensive enough.

bitshifter commented 4 months ago

It might take a while before I have time to have a proper look at this.