mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
New model
This commit is contained in:
@@ -142,6 +142,9 @@ export default {
|
||||
child.material = new THREE.MeshLambertMaterial({ color: props.phoneClr });
|
||||
child.geometry.center();
|
||||
const mesh = new THREE.Mesh(child.geometry, child.material);
|
||||
const scale = 8.6;
|
||||
mesh.rotateX(Math.PI / 2);
|
||||
mesh.scale.set(-scale, scale, scale);
|
||||
bodyGroup.add(mesh);
|
||||
}
|
||||
});
|
||||
|
||||
86071
src/assets/iphone.obj
86071
src/assets/iphone.obj
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user