phaser/wip/blendmodes/LinearBurn.js
2018-01-25 15:48:33 +00:00

11 lines
234 B
JavaScript

var Subtract = require('./Subtract');
/**
* An alias for blendSubtract, it simply sums the values of the two colors and subtracts 255.
*/
var LinearBurn = function (a, b)
{
return Subtract(a, b);
};
module.exports = LinearBurn;