Bug 285

Summary: Dividing by zero in length with a second operation is inaccurate
Product: Group 7 Reporter: aamcvay2-c
Component: VectorAssignee: chiatskuo2-c
Status: CONFIRMED ---    
Severity: minor    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   

Description aamcvay2-c 2019-10-25 09:46:36 HKT
steps to reproduce
1. divide, setlength, or scale to zero
2. attempt to use the vector in a add or subtract

When setting the length of a vector to zero the vectors components expands to infinity. This should instead be set to a zero zero vector, so future math involving the vector is correct.