hoarse and buggy
stop screaming at your code

Archive for August, 2007

Flex, Papervision3D: Rotating a camera around a sphere

August 20, 2007

Recently I needed to write some code that would allow me to interactively rotate a camera around a Papervision3D sphere in a Flex app. My first idea was convert the (x,y,z) location of the camera to a spherical coordinate — that is (rho, phi, theta). To actually move the camera around the center [...]