function boardToWorld(pos){
    var x, y, z;
    y = squareSize / 2 + 2.48;

    x = pos[0] * squareSize + squareSize / 2;
    z = pos[1] * squareSize + squareSize / 2;

    return new THREE.Vector3(x, y, z);
}
/**
 * Converts the board position to 3D world position.
 * @param {Array} pos The board position.
 * @returns {THREE.Vector3}
 */
Converts the board position to 3D world position.
@param {Array} pos The board position.
Converts the board position to 3D world position . @param { Array } pos The board position .
function boardToWorld(pos){
    var x, y, z;
    y = squareSize / 2 + 2.48;
    x = pos[0] * squareSize + squareSize / 2;
    z = pos[1] * squareSize + squareSize / 2;
    return new THREE.Vector3(x, y, z);
}
function boardToWorld ( pos ) { var x , y , z ; y = squareSize / 2 + 2.48 ; x = pos [ 0 ] * squareSize + squareSize / 2 ; z = pos [ 1 ] * squareSize + squareSize / 2 ; return new THREE . Vector3 ( x , y , z ) ; }
Converts the board position to 3D world position.
Converts the board position to 3D world position .