ianmackenzie / elm-3d-scene

A high-level 3D rendering engine for Elm, with support for lighting, shadows, and realistic materials.
https://package.elm-lang.org/packages/ianmackenzie/elm-3d-scene/latest/
Mozilla Public License 2.0
205 stars 27 forks source link

Pass aspect ratio instead of width/height to toWebGLEntities #61

Closed ianmackenzie closed 4 years ago

ianmackenzie commented 4 years ago

Actual dimensions aren't actually needed, passing just aspect ratio is a bit more flexible