ServerConfiguration/Calla/Calla-Lib/basic/index.js
/**
 * Create the graphic for a new user.
 * @param {string} id
 * @param {string} displayName
 * @param {InterpolatedPose} pose
 * @param {boolean} isLocal
 */
Create the graphic for a new user.
Create the graphic for a new user .
function addUser(id, name, pose, isLocal) {
    const user = new User(id, name, pose, isLocal);
    if (users.has(id)) {
        users.get(id).dispose();
    }
    users.set(id, user);
    controls.space.append(user.container);
}
function addUser ( id , name , pose , isLocal ) { const user = new User ( id , name , pose , isLocal ) ; if ( users . has ( id ) ) { users . get ( id ) . dispose ( ) ; } users . set ( id , user ) ; controls . space . append ( user . container ) ; }
Create the graphic for a new user.
Create the graphic for a new user .