FNNDSC / ami

AMI Medical Imaging (AMI) JS ToolKit
https://fnndsc.github.io/ami/#viewers_upload
MIT License
719 stars 213 forks source link

[feature] Auto-scale meshes in widgets #143

Open NicolasRannou opened 7 years ago

NicolasRannou commented 7 years ago

Similar to: https://jsfiddle.net/prisoner849/a2ogz9vx/

Add a new method to scale mesh in the widget "update" methods.

NicolasRannou commented 7 years ago

https://github.com/mrdoob/three.js/blob/dev/examples/js/controls/TransformControls.js