bitshifter / glam-rs

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

Fix FloatExt::lerp documentation to refer to `s` parameter instead of `t` #472

Closed OneFourth closed 7 months ago

OneFourth commented 7 months ago

I saw this issue on the bevy repo https://github.com/bevyengine/bevy/issues/12042, so I thought I'd fix it at the source.

I wasn't sure if changing the code itself from s to t would be better, since I think t is the normal convention for lerp? If so, let me know and I'll update that instead.