Fix camera scales

pull/961/head
Piero Toffanin 2021-02-08 19:20:14 -05:00
rodzic 149f1dc341
commit e208642234
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -362,7 +362,7 @@ class ModelView extends React.Component {
const cameraMesh = new THREE.Mesh(cameraObj.geometry, material);
cameraMesh.matrixAutoUpdate = false;
let scale = 1.0;
if (!this.pointCloud.projection) scale = 0.1;
// if (!this.pointCloud.projection) scale = 0.1;
cameraMesh.matrix.set(...getMatrix(feat.properties.translation, feat.properties.rotation, scale).elements);