]> git.scottworley.com Git - nt3d/commit
Explicitly bounds-check in angle_between()
authorScott Worley <ScottWorley@ScottWorley.com>
Mon, 31 Dec 2012 06:56:34 +0000 (22:56 -0800)
committerScott Worley <ScottWorley@ScottWorley.com>
Mon, 31 Dec 2012 06:56:34 +0000 (22:56 -0800)
commit72eac64d07af484314745fd0e9466e0f94915684
tree0f0f79e5ff5bbb6a3bddec6303550f2658902ee4
parent9ff1b1e6e6409df1fd67ed486b21033ddb39273f
Explicitly bounds-check in angle_between()

This avoids introducing NaNs due to numerical error while measuring
extreme angles -- angles near 0 or pi radians.
nt3d.js