away3d / away3d-core-fp10

Away3D engine for Flash Player 10
http://www.away3d.com
33 stars 11 forks source link

Fix: SpringCam update method added #3

Closed inlet closed 13 years ago

inlet commented 13 years ago

Hi,

First of all thanks for creating this awesome library! Great work.. But I found a little problem with the SpringCam, while rendering my view with a SpringCam, no updates were applied to the cam.

I fix this with a small update: I added the update (override) method and now the cam properties are successfully updated each time the cam needs to be updated (same as a regular Camera3D). When retrieving the view a single call to update() is invoked as well.

I submit this pull request to help other away3d users and hope you can merge this. Thanks in advance!

Kind regards, Patrick Brouwer