/usr/share/javascript/three/examples/js/nodes/inputs/ScreenNode.js is in libjs-three 80+dfsg2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /**
* @author sunag / http://www.sunag.com.br/
*/
THREE.ScreenNode = function( coord ) {
THREE.TextureNode.call( this, undefined, coord );
};
THREE.ScreenNode.prototype = Object.create( THREE.TextureNode.prototype );
THREE.ScreenNode.prototype.constructor = THREE.ScreenNode;
THREE.ScreenNode.prototype.isUnique = function() {
return true;
};
THREE.ScreenNode.prototype.getTexture = function( builder, output ) {
return THREE.InputNode.prototype.generate.call( this, builder, output, this.getUuid(), 't', 'renderTexture' );
};
|