Lines Matching refs:angle
124 void TransformMap::Rotate(int16_t angle, const Vector2<float>& pivot)
126 Rotate(angle, Vector3<float>(pivot.x_, pivot.y_, 0), Vector3<float>(pivot.x_, pivot.y_, 1.0f));
129 void TransformMap::Rotate(int16_t angle, const Vector3<float>& rotatePivotStart, const Vector3<float>& rotatePivotEnd)
131 angle_ = angle;
339 void Rotate(const Vector2<int16_t>& point, int16_t angle, const Vector2<int16_t>& pivot, Vector2<int16_t>& out)
341 float sinma = Sin(angle);
342 float cosma = Sin(angle + 90); // 90: cos
354 void Rotate(const Line& origLine, int16_t angle, const Vector2<int16_t>& pivot, Line& out)
359 Rotate(pt1, angle, pivot, out[1]); // 1: the first point of line
360 Rotate(pt2, angle, pivot, out[2]); // 2: the second point of line
363 void Rotate(const Rect& origRect, int16_t angle, const Vector2<int16_t>& pivot, Polygon& out)
370 Rotate(pt1, angle, pivot, out[1]); // 1: the first point
371 Rotate(pt2, angle, pivot, out[2]); // 2: the second point
372 Rotate(pt3, angle, pivot, out[3]); // 3: the third point
373 Rotate(pt4, angle, pivot, out[4]); // 4: the fourth point