MathewWi / freespace2wii

Automatically exported from code.google.com/p/freespace2wii
Other
0 stars 0 forks source link

Assertion failed: theta_goal >= 0 #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes an assertion is thrown from "away" in vecmat.cpp that
!(theta_goal >= 0).  This can only happen if theta_goal is NaN, because the
logic that calls "away" guarantees theta_goal >= 0 if theta_goal is not NaN.

The NaN appears to have come from physics.cpp velocity_ramp from the
exponential statement near line 1299.  This has been Fixed, but if it shows
up again, this is the place for reporting it.

Original issue reported on code.google.com by litgh...@gmail.com on 17 May 2009 at 7:16