DougHamil / threeagent

ClojureScript library for building Three.js apps in a reagent-like fashion
MIT License
134 stars 10 forks source link

Controls #17

Closed vaibhawc closed 1 year ago

vaibhawc commented 4 years ago

Hi, it's not an issue, it's just that I am not able to figure out how would I go about implementing a control like TrackballControl. Thanks.

joinr commented 3 years ago

You should be able to import the relevant three file for trackball and just use it. You need some interop to set it up, and probably access to the renderer/camera/etc though. Those are available through the threeagent context if you need them.