DNESS / cocos2d-iphone

Automatically exported from code.google.com/p/cocos2d-iphone
1 stars 0 forks source link

Enhancement: 3D Ripple effect should exhibit decay #626

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In order to smooth out the effect, allow for exponential wave damping on
the 3D Ripple effect/action. I have implemented this by simply multiplying
the wave by a factor expf(-gamma*t) where gamma is a damping factor and t
is the time. Make it default to 1.0 for no damping.

Sorry I couldn't choose Enhancement as an issue type on here.

Original issue reported on code.google.com by ironxcr...@gmail.com on 15 Nov 2009 at 3:50

GoogleCodeExporter commented 9 years ago

Original comment by ricardoq...@gmail.com on 20 Nov 2009 at 2:40