From 177ed9c61e77f966c864998bd9b6c64d3e011c2f Mon Sep 17 00:00:00 2001 From: Garrett Johnson Date: Wed, 25 Dec 2024 00:05:33 +0900 Subject: [PATCH] Example fix --- example/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/index.js b/example/index.js index 537b10176..265ee9206 100644 --- a/example/index.js +++ b/example/index.js @@ -31,6 +31,7 @@ import { KTX2Loader } from 'three/examples/jsm/loaders/KTX2Loader.js'; import { GUI } from 'three/examples/jsm/libs/lil-gui.module.min.js'; import Stats from 'three/examples/jsm/libs/stats.module.js'; +const NONE = 0; const ALL_HITS = 1; const FIRST_HIT_ONLY = 2; @@ -47,7 +48,7 @@ let statsContainer, stats; const params = { enableUpdate: true, - raycast: NONE, + raycast: DebugTilesPlugin.ColorModes.NONE, optimizeRaycast: true, enableCacheDisplay: false, enableRendererStats: false,