MasDennis/Rajawali — pull request #134 by jayschwa (2012-08-29 06:04:14+00:00)
Title: Set light direction with setLookAt() method

While tinkering with DirectionalLight objects, my first intuition was to use setLookAt() to set the direction. However, I was sad that it didn't work. Here is a naive implementation for review.

I would love to know what the heck is going on with the X-axis. For some reason I had to negate it in order to get it to work the way I'd expect. I noticed that ATransformable3D.setLookAt() also negates the X-coordinate. Is this related?