Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこれを見る:
float tweenLinear(float t, float start, float end)const{ return t * start + (1 - t) * end; }
t0 と 1 の間のブレンド待機で、経過時間/アニメーションの合計時間です。
t
しかし、アニメーションの開始時には0 になりますが、0の場合はではなくをt返します。endstartt
end
start
この数式を切り替えて返す必要はありませんstartかend?