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

Add triangle primitive #82

Closed ianmackenzie closed 4 years ago

ianmackenzie commented 4 years ago

Draw a single triangle; implementation should be similar to Scene3d.quad but take a Triangle3d instead of four points.

ianmackenzie commented 4 years ago

Now implemented (both triangle and facet).