Sep
12th
Wed
12th
Debugging is fun.
Editing someone’s C code. VectorLength function was returning the weirdest values. 618, 4093, etc., for a zero length vector. Turns out the function wasn’t declared in the header. Compiler was assuming an integer return value, and doing crazy float conversions on it. Niiice.