#NaN in Vec2 normalize()

2 messages · Page 1 of 1 (latest)

edgy geyser
#

normalize's docs has the following line

For valid results, self must not be of length zero, nor very close to zero.

#

Fortunately there is normalize_or_zero