From 9c663250446c06a13fecf4a5d58502cda07cfcc8 Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Fri, 24 Aug 2018 12:56:39 -0700 Subject: [PATCH] extend raycaster far for mouse cursor --- src/index.html | 2 +- src/templates/menu.html | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/index.html b/src/index.html index c2f5d98..428de7a 100644 --- a/src/index.html +++ b/src/index.html @@ -44,7 +44,7 @@ + bind__raycaster="enabled: !inVR" raycaster="far: 20"> diff --git a/src/templates/menu.html b/src/templates/menu.html index 7fbf87b..37f5c27 100644 --- a/src/templates/menu.html +++ b/src/templates/menu.html @@ -12,9 +12,9 @@ animation__mouseleave="property: material.color; from: #333; to: #050505; startEvents: mouseleave; pauseEvents: mouseenter; dur: 150" mixin="slice" slice9="width: 0.5; height: 0.08; padding: 0.03" - text="align: center; wrapCount: 40"> - - + text="align: center; wrapCount: 40; zOffset: 0.001"> + + {% raw %}