Experience-Monks / orbit-controls

generic controls for orbiting a target in 3D
http://jam3.github.io/orbit-controls/
MIT License
110 stars 17 forks source link

Initial values #8

Closed gregtatum closed 8 years ago

gregtatum commented 8 years ago

Here's some initial code for our discussions in issue #7. I'd like to get some tests in place for this too. This feels a lot nicer when I'm playing with some of my glam examples using it.

mattdesl commented 8 years ago

Sorry, I have a pretty busy week. Will try to review this weekend. :+1: Thanks man!

gregtatum commented 8 years ago

No worries! I'm not in any hurry.

mattdesl commented 8 years ago

What do you think of copyInto instead of applyTo?

mattdesl commented 8 years ago

Also just reviewing now. Made a few changes:

Updated both demos, and made the ThreeJS centred on origin like a StreetView experience. Feels really clean now! :tada:

Thanks man! I'm going to merge and clean up some readme stuff, and publish a major bump.

gregtatum commented 8 years ago

Sweet! .copyInto works for me, I'm not too opinionated on it. Excited to get this thing going 🎉