@pixi/filter-displacement
Advanced tools
Comparing version 5.0.0-alpha.3 to 5.0.0-rc
/*! | ||
* @pixi/filter-displacement - v5.0.0-alpha.3 | ||
* Compiled Tue, 03 Jul 2018 04:08:21 UTC | ||
* @pixi/filter-displacement - v5.0.0-rc | ||
* Compiled Fri, 01 Feb 2019 04:50:10 UTC | ||
* | ||
@@ -17,7 +17,8 @@ * @pixi/filter-displacement is licensed under the MIT License. | ||
* The DisplacementFilter class uses the pixel values from the specified texture | ||
* (called the displacement map) to perform a displacement of an object. You can | ||
* use this filter to apply all manor of crazy warping effects. Currently the r | ||
* property of the texture is used to offset the x and the g property of the texture | ||
* is used to offset the y. | ||
* (called the displacement map) to perform a displacement of an object. | ||
* | ||
* You can use this filter to apply all manor of crazy warping effects. | ||
* Currently the `r` property of the texture is used to offset the `x` | ||
* and the `g` property of the texture is used to offset the `y`. | ||
* | ||
* @class | ||
@@ -27,3 +28,3 @@ * @extends PIXI.Filter | ||
*/ | ||
var DisplacementFilter = (function (Filter$$1) { | ||
var DisplacementFilter = /*@__PURE__*/(function (Filter$$1) { | ||
function DisplacementFilter(sprite, scale) | ||
@@ -49,2 +50,6 @@ { | ||
/** | ||
* scaleX, scaleY for displacements | ||
* @member {PIXI.Point} | ||
*/ | ||
this.scale = new Point(scale, scale); | ||
@@ -62,5 +67,5 @@ } | ||
* | ||
* @param {PIXI.FilterManager} filterManager - The manager. | ||
* @param {PIXI.RenderTarget} input - The input target. | ||
* @param {PIXI.RenderTarget} output - The output target. | ||
* @param {PIXI.systems.FilterSystem} filterManager - The manager. | ||
* @param {PIXI.RenderTexture} input - The input target. | ||
* @param {PIXI.RenderTexture} output - The output target. | ||
*/ | ||
@@ -67,0 +72,0 @@ DisplacementFilter.prototype.apply = function apply (filterManager, input, output) |
/*! | ||
* @pixi/filter-displacement - v5.0.0-alpha.3 | ||
* Compiled Tue, 03 Jul 2018 04:08:21 UTC | ||
* @pixi/filter-displacement - v5.0.0-rc | ||
* Compiled Fri, 01 Feb 2019 04:50:10 UTC | ||
* | ||
@@ -21,7 +21,8 @@ * @pixi/filter-displacement is licensed under the MIT License. | ||
* The DisplacementFilter class uses the pixel values from the specified texture | ||
* (called the displacement map) to perform a displacement of an object. You can | ||
* use this filter to apply all manor of crazy warping effects. Currently the r | ||
* property of the texture is used to offset the x and the g property of the texture | ||
* is used to offset the y. | ||
* (called the displacement map) to perform a displacement of an object. | ||
* | ||
* You can use this filter to apply all manor of crazy warping effects. | ||
* Currently the `r` property of the texture is used to offset the `x` | ||
* and the `g` property of the texture is used to offset the `y`. | ||
* | ||
* @class | ||
@@ -31,3 +32,3 @@ * @extends PIXI.Filter | ||
*/ | ||
var DisplacementFilter = (function (Filter$$1) { | ||
var DisplacementFilter = /*@__PURE__*/(function (Filter) { | ||
function DisplacementFilter(sprite, scale) | ||
@@ -39,3 +40,3 @@ { | ||
Filter$$1.call(this, vertex, fragment, { | ||
Filter.call(this, vertex, fragment, { | ||
mapSampler: sprite._texture, | ||
@@ -54,7 +55,11 @@ filterMatrix: maskMatrix, | ||
/** | ||
* scaleX, scaleY for displacements | ||
* @member {PIXI.Point} | ||
*/ | ||
this.scale = new math.Point(scale, scale); | ||
} | ||
if ( Filter$$1 ) DisplacementFilter.__proto__ = Filter$$1; | ||
DisplacementFilter.prototype = Object.create( Filter$$1 && Filter$$1.prototype ); | ||
if ( Filter ) DisplacementFilter.__proto__ = Filter; | ||
DisplacementFilter.prototype = Object.create( Filter && Filter.prototype ); | ||
DisplacementFilter.prototype.constructor = DisplacementFilter; | ||
@@ -67,5 +72,5 @@ | ||
* | ||
* @param {PIXI.FilterManager} filterManager - The manager. | ||
* @param {PIXI.RenderTarget} input - The input target. | ||
* @param {PIXI.RenderTarget} output - The output target. | ||
* @param {PIXI.systems.FilterSystem} filterManager - The manager. | ||
* @param {PIXI.RenderTexture} input - The input target. | ||
* @param {PIXI.RenderTexture} output - The output target. | ||
*/ | ||
@@ -72,0 +77,0 @@ DisplacementFilter.prototype.apply = function apply (filterManager, input, output) |
{ | ||
"name": "@pixi/filter-displacement", | ||
"version": "5.0.0-alpha.3", | ||
"version": "5.0.0-rc", | ||
"main": "lib/filter-displacement.js", | ||
"module": "lib/filter-displacement.es.js", | ||
"description": "Support for legacy browser JavaScript environments", | ||
"description": "Filter that allows offsetting of pixel values to create warping effects", | ||
"author": "Mat Groves", | ||
@@ -25,8 +25,9 @@ "contributors": [ | ||
"dependencies": { | ||
"@pixi/core": "^5.0.0-alpha.3", | ||
"@pixi/math": "^5.0.0-alpha.3" | ||
"@pixi/core": "^5.0.0-rc", | ||
"@pixi/math": "^5.0.0-rc" | ||
}, | ||
"devDependencies": { | ||
"floss": "^2.1.3" | ||
} | ||
"floss": "^2.1.5" | ||
}, | ||
"gitHead": "9026a1bbca9a9d86b7a3b6d5eb4fa2c3145c2b85" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17757
172
Updated@pixi/core@^5.0.0-rc
Updated@pixi/math@^5.0.0-rc