Multiple cubes with orbit camera controls
← All examples08_cubes_orbit
Demonstrates: - mk_layout/mk_vbuf/mk_ibuf for geometry - Left mouse + drag / Arrow keys / Touch drag: Orbit around target point - Right mouse + drag / WASD / Two-finger pan: Pan camera - Mouse wheel / Q/E / Pinch: Zoom (dolly) - Uses mk_key_down, mk_mouse_*, and mk_touch_* polling API

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