Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,11 @@ public Joint GetFilteredJoint(Kinect.JointType jt)
private bool JointPositionIsValid(Joint joint)
{
// if joint is 0 it is not valid.
bool posIsValid = joint.Position.Equals(Vector3.zero);
bool posIsValid = !joint.Position.Equals(Vector3.zero);
//bool orientationIsValid = joint.Rotation.Equals(Helpers.QuaternionZero);
bool orientationIsValid = true;

return posIsValid && orientationIsValid;
}
}
}
}