Skip to content

Commit eda42dc

Browse files
author
b
committed
wip: relocate head
1 parent c4281d3 commit eda42dc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/Logo3D.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ const initThreeJS = () => {
6161
model = gltf.scene
6262
// sample.glb Scale is 5.5
6363
// 2ae0aaee-e2de-45f0-aee2-9f7da77f7c18.glb should be
64-
model.scale.setScalar(4.5)
64+
model.scale.setScalar(4.5)
65+
model.position.y = 0.2 // Move up 4px equivalent in 3D space
6566
scene.add(model)
6667
}, undefined, (error) => {
6768
console.error('Error loading GLB model:', error)

0 commit comments

Comments
 (0)