private static JToken SerializeBspChild(ValveBspFile bsp, BspChild child) { return(child.IsLeaf ? SerializeBspLeaf(bsp, child.Index) : SerializeBspNode(bsp, child.Index)); }
private BspElement ConvertElement(ValveBspFile bsp, BspChild child) { return(child.IsLeaf ? (BspElement)ConvertLeaf(bsp, child.Index) : ConvertNode(bsp, child.Index)); }