Lines Matching refs:Vector2
21 bool Intersect(const Line& a, const Line& b, Vector2<int16_t>& out)
23 Vector2<int16_t> aA = a[0];
24 Vector2<int16_t> aB = a[1];
25 Vector2<int16_t> bA = b[0];
26 Vector2<int16_t> bB = b[1];
44 Vector2<int16_t> aA = a[0];
45 Vector2<int16_t> aB = a[1];
46 Vector2<int16_t> bA = b[0];
47 Vector2<int16_t> bB = b[1];
96 Vector2<int16_t> intersectPoint;
111 Vector2<int16_t> intersectPoint;
141 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t *pNum)
169 Vector2<int16_t> intersectPoint;
177 Polygon::Polygon(const Vector2<int16_t>* vertexes, const uint8_t vertexNum)
180 if (memcpy_s(vertexes_, MAX_VERTEX_NUM * sizeof(Vector2<int16_t>),
181 vertexes, vertexNum * sizeof(Vector2<int16_t>)) != EOK) {