Forráskód Böngészése

Improved HTMLTexture example.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Mr.doob 3 hónapja
szülő
commit
a178e7a7ea
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. BIN
      examples/files/wolf.jpg
  2. 2 2
      examples/webgl_materials_texture_html.html

BIN
examples/files/wolf.jpg


+ 2 - 2
examples/webgl_materials_texture_html.html

@@ -45,7 +45,7 @@
 				cursor: pointer;
 			}
 			#draw_element button:hover {
-				background-color: #45a049;
+				background-color: #2196F3;
 			}
 			@keyframes swing {
 				from { transform: rotate(-15deg); }
@@ -68,7 +68,7 @@
 				<p style="writing-mode: vertical-rl;">
 				这是垂直文本
 				</p>
-				an inline image (<img width="150" src="files/wolf.jpg">), and
+				an inline image (<img width="150" src="textures/758px-Canestra_di_frutta_(Caravaggio).jpg">), and
 				<svg width="50" height="50">
 				<circle cx="25" cy="25" r="20" fill="green" />
 				<text x="25" y="30" font-size="15" text-anchor="middle" fill="#fff">

粤ICP备19079148号