fix object position
This commit is contained in:
parent
064e28a02e
commit
34ba2cf3eb
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class ThreeViewer extends React.PureComponent<Props> {
|
|||
group.scale.set(scaleFactor, scaleFactor, scaleFactor);
|
||||
group.position.setY((meshY / 2) * scaleFactor);
|
||||
group.position.multiplyScalar(-1);
|
||||
group.position.setY(meshY * scaleFactor);
|
||||
group.position.setY((meshY * scaleFactor) / 2);
|
||||
}
|
||||
|
||||
startLoader() {
|
||||
|
|
Loading…
Reference in a new issue