Skip to content

Commit

Permalink
fix boneheaded move in Vector3IO, #100
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Mar 25, 2020
1 parent 0d1b356 commit 667d6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Vector3IO.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Vector3IO extends ObjectIO {
* @public
*/
static fromStateObject( stateObject ) {
return Vector3.fromStateObject( stateObject.x, stateObject.y, stateObject.z );
return Vector3.fromStateObject( stateObject );
}
}

Expand Down

0 comments on commit 667d6fc

Please sign in to comment.