예제 #1
0
        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);
        }
예제 #2
0
 public void AddCollisionSegment(CollisionSegment segment)
 {
     colitionSegments.Add(segment);
 }