Procházet zdrojové kódy

Examples: Fix broken GPU picking demo. (#25952)

* Examples: Fix broken GPU picking demo.

* Examples: Clean up.
Michael Herzog před 2 roky
rodič
revize
bbd1fdadee
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/webgl_interactive_cubes_gpu.html

+ 1 - 1
examples/webgl_interactive_cubes_gpu.html

@@ -136,7 +136,7 @@
 
 					// give the geometry's vertices a color corresponding to the "id"
 
-					applyVertexColors( geometry, color.setHex( i ) );
+					applyVertexColors( geometry, color.setHex( i, THREE.NoColorSpace ) );
 
 					geometriesPicking.push( geometry );