@@ -34,7 +34,7 @@ THREE.ColorNode.prototype.toJSON = function ( meta ) {
data.g = this.g;
data.b = this.b;
- if ( this.readyonly === true ) data.readyonly = true;
+ if ( this.readonly === true ) data.readonly = true;
}
@@ -47,7 +47,7 @@ THREE.FloatNode.prototype.toJSON = function ( meta ) {
data.number = this.number;
@@ -45,7 +45,7 @@ THREE.IntNode.prototype.toJSON = function ( meta ) {
@@ -16,7 +16,7 @@ THREE.Matrix3Node.prototype.nodeType = "Matrix3";
THREE.Matrix3Node.prototype.generateReadonly = function ( builder, output, uuid, type, ns, needsUpdate ) {
- return builder.format( "mat3( " + this.value.elements.joint( ", " ) + " )", type, output );
+ return builder.format( "mat3( " + this.value.elements.join( ", " ) + " )", type, output );
};
@@ -30,7 +30,7 @@ THREE.Matrix3Node.prototype.toJSON = function ( meta ) {
data.elements = this.value.elements.concat();
@@ -16,7 +16,7 @@ THREE.Matrix4Node.prototype.nodeType = "Matrix4";
THREE.Matrix4Node.prototype.generateReadonly = function ( builder, output, uuid, type, ns, needsUpdate ) {
- return builder.format( "mat4( " + this.value.elements.joint( ", " ) + " )", type, output );
+ return builder.format( "mat4( " + this.value.elements.join( ", " ) + " )", type, output );
@@ -30,7 +30,7 @@ THREE.Matrix4Node.prototype.toJSON = function ( meta ) {
@@ -33,7 +33,7 @@ THREE.Vector2Node.prototype.toJSON = function ( meta ) {
data.x = this.x;
data.y = this.y;
@@ -35,7 +35,7 @@ THREE.Vector3Node.prototype.toJSON = function ( meta ) {
data.z = this.z;
@@ -35,7 +35,7 @@ THREE.Vector4Node.prototype.toJSON = function ( meta ) {
data.w = this.w;