/// <summary> /// Returns wether node's normal should be oriented up. /// </summary> /// <returns><c>true</c>, if node's normal should be up, <c>false</c> otherwise.</returns> /// <param name="node">Node.</param> private bool IsNodePositionOrientedUp(MazeNode node) { List <string> list = new List <string> { "start", "end", "interim-start", "interim-end" }; //List<string> list = new List<string> { "start", "end", "entry", "exit", "interim-start", "interim-end" }; return(node.DoesIdentifierContainString(list)); }