private void CalculateConvexHull() { if (this.points == null) { this._convexPoints = null; return; } this._convexPoints = Polygon.ConvexHullXZ(this.points); for (int i = 0; i < this._convexPoints.Length; i++) { Debug.DrawLine(this._convexPoints[i], this._convexPoints[(i + 1) % this._convexPoints.Length], Color.green); } }
private void CalculateConvexHull() { if (points == null) { _convexPoints = null; return; } _convexPoints = Polygon.ConvexHullXZ(points); for (int i = 0; i < _convexPoints.Length; i++) { Debug.DrawLine(_convexPoints[i], _convexPoints[(i + 1) % _convexPoints.Length], Color.green); } }
void CalculateConvexHull() { _convexPoints = points != null?Polygon.ConvexHullXZ(points) : null; }
// Token: 0x0600229E RID: 8862 RVA: 0x001938E4 File Offset: 0x00191AE4 public void RecalcConvex() { this.convexPoints = (this.convex ? Polygon.ConvexHullXZ(this.points) : null); }
/// <summary> /// Recalculate convex hull. /// Will not do anything if <see cref="convex"/> is disabled. /// </summary> public void RecalcConvex() { convexPoints = convex ? Polygon.ConvexHullXZ(points) : null; }
public void RecalcConvex() { this.convexPoints = ((!this.convex) ? null : Polygon.ConvexHullXZ(this.points)); }
public static Vector3[] ConvexHull(Vector3[] points) { return(Polygon.ConvexHullXZ(points)); }
private void CalculateConvexHull() { this._convexPoints = ((this.points == null) ? null : Polygon.ConvexHullXZ(this.points)); }
// Token: 0x06002259 RID: 8793 RVA: 0x0018E6D3 File Offset: 0x0018C8D3 private void CalculateConvexHull() { this._convexPoints = ((this.points != null) ? Polygon.ConvexHullXZ(this.points) : null); }