void TouchPoint::Update(TouchType Type, Point Pos)
{
	if (Type >= Status)
	{
		Status = Type;
		PosPast = PosCurrent;
		PosCurrent = Pos;
		Move = PosCurrent - PosDown;
		CalAngle();
		CalDirection();
	}
};
Exemple #2
0
void SenLogic::CalDirection(IN const JointPoints& points, OUT Vector4& res)
{
	CalDirection(points.pointA, points.pointB, res);
}