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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user