public void CreateWindowSizeDependentResources() { var viewport = this.deviceResources.ScreenViewport; this.ProjectionMatrix = XMMatrix.PerspectiveFovRH(XMMath.ConvertToRadians(70.0f), viewport.Width / viewport.Height, 0.01f, 100.0f); }
public void CreateWindowSizeDependentResources() { var viewport = this.deviceResources.ScreenViewport; this.ProjectionMatrix = XMMatrix.PerspectiveFovRH(XMMath.ConvertToRadians(70.0f), viewport.Width / viewport.Height, 0.01f, 100.0f); }