Vec2.fit

While conserving the x/y ratio, returns the largest vector possible that fits inside the other vector. (like a size) \ Does not modify this vector.

struct Vec2(T)
const
fit
(
const Vec2!T v
)

Meta