-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixed math so lookat/lookaway fire at the right times - panorama, sky and video spheres are no longer raycasted. huge performance boost on mobile
- Loading branch information
1 parent
d2ed8f7
commit 07203b7
Showing
9 changed files
with
175 additions
and
135 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
"author": "Brian Chirls <[email protected]> (http://chirls.com)", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"css-loader": "^0.12.0", | ||
"css-loader": "^0.16.0", | ||
"event-emitter": "^0.3.2", | ||
"file-loader": "^0.8.1", | ||
"gulp": "^3.8.10", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,8 @@ module.exports = (function () { | |
|
||
parent.add(mesh); | ||
|
||
this.raycastable = false; | ||
|
||
return mesh; | ||
}; | ||
}()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,6 +134,8 @@ module.exports = (function () { | |
|
||
this.setOptions(options); | ||
|
||
this.raycastable = false; | ||
|
||
return obj.mesh; | ||
}; | ||
}()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters