mirror of
https://github.com/photonstorm/phaser
synced 2025-02-18 15:08:31 +00:00
12 lines
234 B
JavaScript
12 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;
|