You are hereExamples / Math / Scale To Distance

Scale To Distance


By John Lindquist - Posted on 30 June 2008


____________________________________________________________________________________________

source: http://pv3d.googlecode.com/svn/trunk/org/pv3d/examples/math/

Nice code, very pretty. I love the rotating effect and how the objects get bigger further form the origin. I have a couple of questions, if anyone could good enough to answer: why is triangle.lookAt(origin); inside the for loop that creates the triangles? Also the code for this does not orbit the camera around the origin.
Sorry I figured out what triangle.lookAt(origin); is for.
Beautiful