3D shapes demonstration
← All examples14_draw3d
Demonstrates: - mk_draw3d immediate-mode 3D primitives - Grid and axis helpers - Orbit camera controls Controls: - Mouse drag / Touch: Orbit camera - Scroll / Pinch: Zoom - W: Toggle debug wireframe (bgfx global, renders ALL primitives as wireframe) - 1-8: Select shape to display

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.
- Number
- 14
- Tags
- Source
examples/14_draw3d/main.c
Build and run
./scripts/build-linux.sh release --target=14_draw3d --run