Dividing a vector by a number checks if the numerator is zero, not the denominator
object-Object opened this issue ยท 1 comments
Pretty sure this line should be checking if rnum == 0
. The current code results in a mishap if dividing the zero vector by a nonzero number (result should be the zero vector), and no mishap if dividing a vector by zero (should mishap).
Discovered by Kristi Fristi on Discord.