atelier ~master (2021-08-24T13:35:22Z)
Dub
Repo
scaleToFit
atelier
core
util
Scale a vector to fit the specified vector while keeping its ratio.
Vec2f
scaleToFit
(
Vec2f
src
,
Vec2f
dst
)
Meta
Source
See Implementation
atelier
core
util
functions
angleBetween
angleLerp
approach
lerp
rlerp
scaleToFit
manifest constants
pi2
sqrt2_2
Scale a vector to fit the specified vector while keeping its ratio.