ServerConfiguration/Calla/Calla-Lib/basic/index.js
/**
     * Moves the user's graphics element to the latest position that Calla has
     * calculated for it.
     **/
Moves the user's graphics element to the latest position that Calla has
calculated for it.
Moves the user ' s graphics element to the latest position that Calla has calculated for it .
update() {
        const dx = this.container.parentElement.clientLeft - this.container.clientWidth / 2;
        const dy = this.container.parentElement.clientTop - this.container.clientHeight / 2;
        this.container.style.left = (100 * this.pose.current.p.x + dx) + "px";
        this.container.style.zIndex = this.pose.current.p.y;
        this.container.style.top = (100 * this.pose.current.p.z + dy) + "px";
    }
update ( ) { const dx = this . container . parentElement . clientLeft - this . container . clientWidth / 2 ; const dy = this . container . parentElement . clientTop - this . container . clientHeight / 2 ; this . container . style . left = ( 100 * this . pose . current . p . x + dx ) + "px" ; this . container . style . zIndex = this . pose . current . p . y ; this . container . style . top = ( 100 * this . pose . current . p . z + dy ) + "px" ; }
Moves the user's graphics element to the latest position that Calla has
 calculated for it.
Moves the user ' s graphics element to the latest position that Calla has calculated for it .