internal static bool IsClockwiseXZ(KInt3 a, KInt3 b, KInt3 c) { return((b.IntX - a.IntX) * (c.IntZ - a.IntZ) - (c.IntX - a.IntX) * (b.IntZ - a.IntZ) < 0); }
public void addObstacle(KInt3 a, KInt3 b) { addObstacle(KInt2.ToInt2(a.x, a.z), KInt2.ToInt2(b.x, b.z)); }
internal static bool RightXZ(KInt3 a, KInt3 b, KInt3 p) { return((b.IntX - a.IntX) * (p.IntZ - a.IntZ) - (p.IntX - a.IntX) * (b.IntZ - a.IntZ) < 0); }