apply fix for btAcosf/btAsinf (numerical issue causes values of X become slightly larger than 1 or smaller than -1, causing NaNs)

manually add some missing files to msvc projectfiles for now
fix in box-box collision detector, preventing it to fail in some rare cases
remove redundant line in btHingeConstraint, thanks to teravus
fix mouse drag camera rotation issue (modulo 360 instead of 180)
This commit is contained in:
erwin.coumans
2009-10-09 23:35:00 +00:00
parent 7b4bfcbcab
commit 703582f4fa
5 changed files with 27 additions and 8 deletions

View File

@@ -877,7 +877,7 @@ void DemoApplication::mouseMotionFunc(int x,int y)
else if(m_mouseButtons & 1)
{
m_azi += dx * 0.2;
m_azi = fmodf(m_azi, 180.f);
m_azi = fmodf(m_azi, 360.f);
m_ele += dy * 0.2;
m_ele = fmodf(m_ele, 180.f);
}