function isPointerLockSupport(){
    var havePointerLock = 'pointerLockElement' in document ||
    'mozPointerLockElement' in document ||
    'webkitPointerLockElement' in document;
    return havePointerLock;
}
// Check browser is supports pointer locking
Check browser is supports pointer locking
Check browser is supports pointer locking
function isPointerLockSupport(){
    var havePointerLock = 'pointerLockElement' in document ||
    'mozPointerLockElement' in document ||
    'webkitPointerLockElement' in document;
    return havePointerLock;
}
function isPointerLockSupport ( ) { var havePointerLock = 'pointerLockElement' in document || 'mozPointerLockElement' in document || 'webkitPointerLockElement' in document ; return havePointerLock ; }
Check browser is supports pointer locking
Check browser is supports pointer locking