public MGLShader(double width, double height) { // update window size _windowSize = new MSize2D(width, height); _aspectRatio = _windowSize.Width / _windowSize.Height; Reset(); }
public MGLShader(MSize2D windowSize) : this(windowSize.Width, windowSize.Height) { }