libnui / nui3

libnui v3
http://libnui.net
Mozilla Public License 2.0
163 stars 31 forks source link

nuiSpriteAnimation logic reversed #20

Closed Jaydee2190 closed 13 years ago

Jaydee2190 commented 13 years ago

void nuiSpriteAnimation::SetDuration(float seconds) { mFPS = seconds / (float)GetFrameCount(); }

should be(I think, unless my brain is acting up!)

void nuiSpriteAnimation::SetDuration(float seconds) { mFPS = (float)GetFrameCount() / seconds; }

meeloo commented 13 years ago

closed by 0f5d3a86eace042104b2dc04b5e3176e919e39f0 nuiSpriteAnimation::SetDuration broken