CCEaseExponential系列的action里面update方法里面为什么要写一些*1或者/1的操作呀,例如:
(t==0) ? 0 : powf(2, 10 * (t/1 - 1)) - 1 * 0.001f
自己实测了几个数据貌似结果没什么差别,请教一下各位大神
CCEaseExponential系列的action里面update方法里面为什么要写一些*1或者/1的操作呀,例如:
(t==0) ? 0 : powf(2, 10 * (t/1 - 1)) - 1 * 0.001f
自己实测了几个数据貌似结果没什么差别,请教一下各位大神