Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NoTUsR authored Jun 20, 2024
1 parent a311a5a commit 1f68291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const loader = new GLTFLoader();

loader.load('https://raw.githubusercontent.com/NoTUsR/teddy/main/Head.glb', function(gltf){

teddy = gltf.scene
let teddy = gltf.scene

teddy.traverse(n => { if ( n.isMesh ) {
n.castShadow = true;
Expand Down

0 comments on commit 1f68291

Please sign in to comment.