Skip to content

Commit

Permalink
chore: Update human model with correct axes
Browse files Browse the repository at this point in the history
  • Loading branch information
travbid committed Jul 3, 2020
1 parent c1255f2 commit 2333a73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
Binary file modified src/assets/human.stl
Binary file not shown.
1 change: 0 additions & 1 deletion src/index.ts
Expand Up @@ -244,7 +244,6 @@ function updateModelScroll(): void {
const rot = 0.5 * Math.PI * window.pageYOffset / window.innerHeight;

const hModelMatrix = new Mat4();
hModelMatrix.rotate(-Math.PI / 2.0, [1, 0, 0]);
hModelMatrix.rotate(rot, [0, 1, 0]);
hModelMatrix.translate(0, (rot / 25.0) - 1.6, -0.45);
human.setMatrix(hModelMatrix);
Expand Down

0 comments on commit 2333a73

Please sign in to comment.