Ignore:
Timestamp:
04/18/20 20:18:36 (4 years ago)
Author:
Maciej Komosinski
Message:

Added the actual functionality of the app in place of previous draft

File:
1 edited

Legend:

Unmodified
Added
Removed
  • js/human_3d_alignment/src/visualization/camera.js

    r881 r911  
    8787        let modelSphere = modelBox.getBoundingSphere();
    8888
     89        this.targetPosition = modelSphere.center.clone();
     90        this.cameraPosition = modelSphere.center.clone().addScalar(modelSphere.radius);
     91
    8992        return {
    9093            target: {
Note: See TracChangeset for help on using the changeset viewer.