public Wall(Corner from, Corner to, int id) { fromCorner = from; toCorner = to; lineID = id; }
// 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); }
public Wall() { fromCorner = new Corner(); toCorner = new Corner(); lineID = new int(); }