示例#1
0
void TouchPoint::Update(TouchType Type, Point Pos)
{
	if (Type >= Status)
	{
		Status = Type;
		PosPast = PosCurrent;
		PosCurrent = Pos;
		Move = PosCurrent - PosDown;
		CalAngle();
		CalDirection();
	}
};
示例#2
0
文件: stdafx.cpp 项目: ylemzy/Ku
void SenLogic::CalDirection(IN const JointPoints& points, OUT Vector4& res)
{
	CalDirection(points.pointA, points.pointB, res);
}