fix object position

This commit is contained in:
btzr-io 2018-06-12 17:18:00 -06:00 committed by Sean Yesmunt
parent 064e28a02e
commit 34ba2cf3eb

View file

@ -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() {