|
@@ -39,12 +39,12 @@ THREE.FunctionNode.prototype.getTypeNode = function( builder, type ) {
|
|
|
|
|
|
THREE.FunctionNode.prototype.getInputByName = function( name ) {
|
|
THREE.FunctionNode.prototype.getInputByName = function( name ) {
|
|
|
|
|
|
- var i = this.input.length;
|
|
|
|
|
|
+ var i = this.inputs.length;
|
|
|
|
|
|
while ( i -- ) {
|
|
while ( i -- ) {
|
|
|
|
|
|
- if ( this.input[ i ].name === name )
|
|
|
|
- return this.input[ i ];
|
|
|
|
|
|
+ if ( this.inputs[ i ].name === name )
|
|
|
|
+ return this.inputs[ i ];
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -81,7 +81,7 @@ THREE.FunctionNode.prototype.parse = function( src, includes, extensions ) {
|
|
|
|
|
|
var match = src.match( rDeclaration );
|
|
var match = src.match( rDeclaration );
|
|
|
|
|
|
- this.input = [];
|
|
|
|
|
|
+ this.inputs = [];
|
|
|
|
|
|
if ( match && match.length == 4 ) {
|
|
if ( match && match.length == 4 ) {
|
|
|
|
|
|
@@ -113,7 +113,7 @@ THREE.FunctionNode.prototype.parse = function( src, includes, extensions ) {
|
|
|
|
|
|
name = inputs[ i ++ ];
|
|
name = inputs[ i ++ ];
|
|
|
|
|
|
- this.input.push( {
|
|
|
|
|
|
+ this.inputs.push( {
|
|
name : name,
|
|
name : name,
|
|
type : type,
|
|
type : type,
|
|
qualifier : qualifier
|
|
qualifier : qualifier
|