174 {
178 size = size * 0.5;
179
181
183 pts[0] = from;
184 pts[1] = to;
185 pts[2] = to - dir1 - dir2;
186 pts[3] = to - dir1 + dir2;
187 pts[4] = to;
188
190 }
proto float Normalize()
Normalizes vector. Returns length.
vector Perpend()
Returns perpendicular vector. Perpendicular vector is computed as cross product between input vector ...
static proto native Shape CreateLines(int color, ShapeFlags flags, vector p[], int num)