Example #1
0
 public Wall(Corner from, Corner to, int id)
 {
     fromCorner = from;
     toCorner   = to;
     lineID     = id;
 }
Example #2
0
        // Compute the direction of the line.
        private Vector3 ComputeLineEquation(Corner c1, Corner c2)
        {
            Vector3 direction = c1.point.transform.position - c2.point.transform.position;

            return(direction.normalized);
        }
Example #3
0
 public Wall()
 {
     fromCorner = new Corner();
     toCorner   = new Corner();
     lineID     = new int();
 }