phaser/v3/src/math/Linear.js

7 lines
96 B
JavaScript
Raw Normal View History

var Linear = function (p0, p1, t)
{
return (p1 - p0) * t + p0;
};
module.exports = Linear;