Corrected bugs, and prepare for tutorial
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
L3D.ObjectClicker = (function() {
|
||||
|
||||
function pointerCheck(camera) {
|
||||
return (camera instanceof L3D.PointerCamera && camera.pointerLocked);
|
||||
return ((camera instanceof L3D.PointerCamera || camera instanceof TutoCamera) && camera.pointerLocked);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user