Skip to content

Commit

Permalink
Merge pull request #424 from cvan/fix-visibility-cursor
Browse files Browse the repository at this point in the history
fix cursor for visibility example
  • Loading branch information
dmarcos committed Nov 13, 2015
2 parents 3dc654c + f9f2bbc commit 9e236b0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions examples/visibility/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@
</vr-assets>

<vr-scene stats="true">
<vr-object position="0 0 20" camera="fov: 45" controls="mouselook: true; locomotion: true">
<vr-object position="0 0 -5" geometry="primitive: ring; outerRadius: 0.30; innerRadius: 0.20;" material="color: red" cursor="maxDistance: 30"></vr-object>
<vr-object position="0 0 20" mouse-controls keyboard-controls>
<vr-object camera="fov: 45" hmd-controls>
<vr-object position="0 0 -5"
geometry="primitive: ring; outerRadius: 0.30;
innerRadius: 0.20"
material="color: red; receiveLight: false"
cursor="maxDistance: 30"></vr-object>
</vr-object>
</vr-object>

<vr-object id="blueCube"
Expand Down

0 comments on commit 9e236b0

Please sign in to comment.