Skip to content

Mouse control for THREE.OrthographicCamera that conserves planar cursor position

License

Notifications You must be signed in to change notification settings

EliasHasle/map-view-controls

Repository files navigation

map-view-controls

Mouse control for THREE.OrthographicCamera that conserves planar pointer position while zooming with mouse wheel and panning with a mouse button. (Panning does not yet perfectly conserve cursor position on map.)

For 2D views

map-view-controls.js is an ES6 module.

build/MapViewControls.js is an UMD module.

A world map example is now available.

About

Mouse control for THREE.OrthographicCamera that conserves planar cursor position

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages