We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3362eb commit 0f8835fCopy full SHA for 0f8835f
src/xrEngine/bone.h
@@ -193,7 +193,7 @@ struct ECORE_API SBoneShape
193
}
194
bool Valid(){
195
switch (type){
196
- case stBox: return !fis_zero(box.m_halfsize.x)&&!fis_zero(box.m_halfsize.x)&&!fis_zero(box.m_halfsize.x);
+ case stBox: return !fis_zero(box.m_halfsize.x)&&!fis_zero(box.m_halfsize.y)&&!fis_zero(box.m_halfsize.z);
197
case stSphere: return !fis_zero(sphere.R);
198
case stCylinder:return !fis_zero(cylinder.m_height)&&!fis_zero(cylinder.m_radius)&&!fis_zero(cylinder.m_direction.square_magnitude());
199
};
0 commit comments