Skip to content

Commit dc43ff3

Browse files
committed
Fix deployment path for textures and update texture example animation
1 parent 541e0c6 commit dc43ff3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
mkdir -p _site
4040
cp index.html _site/
4141
cp -r build _site/
42-
cp -r textures _site/
42+
cp -r textures _site/textures
4343
4444
- name: Setup Pages
4545
uses: actions/configure-pages@v4

src/examples.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ export async function runTextureExample() {
206206

207207

208208
setInterval(() => {
209+
circle.setPosition(48, 48 + 4 * Math.sin(Date.now() * 0.005));
210+
209211
texturedRect.rotate(1); // Rotate 2 degrees per frame
210212
const pixels = renderer.render([scene], {
211213
screen_width: width,

0 commit comments

Comments
 (0)