Commit c0465bba authored by frankie's avatar frankie 💬

removal of default value for argument (illegal in js)

parent 0b4d9532
......@@ -145,7 +145,7 @@ function Cube() {
}
this.orientation_rotation_conversion = function( p, r, corrmat, extra_quat = undefined ) {
this.orientation_rotation_conversion = function( p, r, corrmat, extra_quat ) {
var pos = new THREE.Vector3( p[0], p[1], p[2] );
if ( extra_quat !== undefined && extra_quat['scl'] !== undefined ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment