--- This guide is now available on libgdx.com. Check it out here. If you have any questions, join us on Discord! ---
- To switch to libGDX's LWJGL 3 backend, open your root
build.gradle
file and replace the LWJGL backend dependency:
-- Render a spinning cube. | |
-- | |
-- Dependencies: | |
-- elm install elm-explorations/linear-algebra | |
-- elm install elm-explorations/webgl | |
-- | |
import Browser | |
import Browser.Events as E | |
import Html exposing (Html) |