#camera #cgmath #ball #arc #arcball

arcball-cgmath

A simple arcball-style camera. Uses the cgmath-rs library

10 unstable releases (3 breaking)

Uses old Rust 2015

0.4.0 Aug 3, 2016
0.3.4 May 2, 2016
0.3.3 Apr 24, 2016
0.2.2 Apr 7, 2016
0.1.0 Apr 7, 2016

#10 in #ball

MIT license

5KB
102 lines

arcball-cgmath

A simple arcball-style camera. Uses the cgmath-rs library

Note: Panning behavior is wonky, since it uses a built-in speed value rather than converting mouse pixel movements from screen space movements to world space movements.

See also: https://github.com/PistonDevelopers/camera_controllers/tree/master/src

Dependencies

~1.5MB
~22K SLoC