From 8909a2cc7b5e8fd1a888aa862551072cf28f57eb Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Tue, 31 Jul 2018 12:45:35 -0700 Subject: [PATCH] Improved webgl_raycast_sprite. --- examples/webgl_raycast_sprite.html | 230 ++++++++++++++-------------- examples/webgl_raycast_texture.html | 6 +- 2 files changed, 116 insertions(+), 120 deletions(-) diff --git a/examples/webgl_raycast_sprite.html b/examples/webgl_raycast_sprite.html index aa675ae091..9cc1a79365 100644 --- a/examples/webgl_raycast_sprite.html +++ b/examples/webgl_raycast_sprite.html @@ -1,163 +1,159 @@ - - three.js webgl - raycast - sprite - - - - + + three.js webgl - raycast - sprite + + + + -
three.js - webgl raycast sprite
- - - + + + return raycaster.intersectObject( group, true ); + + } + - \ No newline at end of file + diff --git a/examples/webgl_raycast_texture.html b/examples/webgl_raycast_texture.html index 35d1f3af28..1f39f383a4 100644 --- a/examples/webgl_raycast_texture.html +++ b/examples/webgl_raycast_texture.html @@ -7,9 +7,9 @@