private void constructorSetupWindow(WindowMap _windowMap, SimpleRange startDisRange, int startX, int startZ) { this.m_windowMap = _windowMap; Trapezoid atrapezoid = new Trapezoid(startDisRange, startZ); this.lightLevelTrapezoid = new LightLevelTrapezoid(TrapLight.MediumLightQuad(), atrapezoid); // this.heights.Add(startDisRange); this.xLevel = startX; }
public LightLevelTrapezoid(TrapLight _trapLight, Trapezoid _trap) { trapLight = _trapLight; trapezoid = _trap; zHeightRanges[_trap.span.start] = _trap.startRange; }