public void AddCollisionSegment(Point3D first, Point3D second, float colitionDistance) { Segment cSegment = new Segment(first, second); CollisionSegment cCollisionSegment = new CollisionSegment(); cCollisionSegment.segment = cSegment; cCollisionSegment.ColitionDistance = colitionDistance; cCollisionSegment.Enabled(true); colitionSegments.Add(cCollisionSegment); }
public void AddCollisionSegment(CollisionSegment segment) { colitionSegments.Add(segment); }