harfang3d/doc/doc/ComputeOrthographicViewState.md

5 lines
352 B
Markdown
Raw Normal View History

2021-10-13 12:40:31 +00:00
Compute an orthographic view state.
The `size` parameter controls the extends of the projected view. When projecting a 3d world this parameter is expressed in meters. Use the `aspect_ratio` parameter to prevent distortion from induced by non-square viewport.
See [ComputeOrthographicProjectionMatrix], [ComputeAspectRatioX] and [ComputeAspectRatioY].