dist/claygl.es.js
function () {
        var localTransform = this.localTransform.array;
        var worldTransform = this.worldTransform.array;
        if (this._parent) {
            mat4.multiplyAffine(
                worldTransform,
                this._parent.worldTransform.array,
                localTransform
            );
        }
        else {
            mat4.copy(worldTransform, localTransform);
        }
    }
function () {
        var localTransform = this.localTransform.array;
        var worldTransform = this.worldTransform.array;
        if (this._parent) {
            mat4.multiplyAffine(
                worldTransform,
                this._parent.worldTransform.array,
                localTransform
            );
        }
        else {
            mat4.copy(worldTransform, localTransform);
        }
    }
function ( ) { var localTransform = this . localTransform . array ; var worldTransform = this . worldTransform . array ; if ( this . _parent ) { mat4 . multiplyAffine ( worldTransform , this . _parent . worldTransform . array , localTransform ) ; } else { mat4 . copy ( worldTransform , localTransform ) ; } }
Update world transform, assume its parent world transform have been updated
@private
Update world transform assume its parent world transform have been updated