2 * @author sunag / http://www.sunag.com.br/
5 THREE.NoiseNode = function( coord ) {
7 THREE.TempNode.call( this, 'fv1' );
13 THREE.NoiseNode.prototype = Object.create( THREE.TempNode.prototype );
14 THREE.NoiseNode.prototype.constructor = THREE.NoiseNode;
16 THREE.NoiseNode.prototype.generate = function( builder, output ) {
18 builder.include( 'snoise' );
20 return builder.format( 'snoise(' + this.coord.build( builder, 'v2' ) + ')', this.getType( builder ), output );