Commit Graph

4 Commits (26c8cdcb37a078598bc586b95bf9a6cd2645249e)

Author SHA1 Message Date
William D. Jones 26c8cdcb37 Three.js: fix mousemove event listener.
The mousemove event does not return button press information;
refactor into two handlers based on button press.
2019-05-13 16:02:09 +00:00
whitequark afafa5ec2e Three.js: allow to configure projRight/projUp.
Also, use a more appealing isometric projection if none specified,
instead of orthographic.

Also, use the scale, offset and projection from the viewport at
the time of export.
2016-06-11 23:13:59 +00:00
whitequark 44223ea332 Three.js: correctly handle browser zoom.
Before this commit, controls went wild on zoom ratios other than 1:1,
and the rendering wasn't too good either.
2016-06-11 23:13:59 +00:00
whitequark 432e7680a4 Three.js: put all resources into res/threejs/ and embed on export.
This means that our exported viewer is independent of internet
connection as well as any CDNs that will eventually die.
2016-05-18 11:44:32 +00:00