Skip to content

Commit d0ee26c

Browse files
committed
Merge branch 'master' of github.com:com-480-data-visualization/DataRizz
2 parents 44c7d04 + 0a39dc5 commit d0ee26c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

website/js/body-types.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ import { AthleteRenderer } from "./AthleteRenderer.js";
439439
scene.background = null;
440440

441441
const camera = new THREE.PerspectiveCamera(42, width / height, 0.1, 200);
442-
camera.position.set(0, 12, 36);
443-
camera.lookAt(0, 8, 0);
442+
camera.position.set(0, 13, 38);
443+
camera.lookAt(0, 7.8, 0);
444444

445445
const renderer = new THREE.WebGLRenderer({
446446
antialias: true,
@@ -552,7 +552,7 @@ import { AthleteRenderer } from "./AthleteRenderer.js";
552552
const normalizedHeight = athleteCm / 170;
553553

554554
const estimatedBodyHeight = 11.2 * normalizedHeight;
555-
const labelWorldY = pos.podiumHeight + estimatedBodyHeight + 0.9;
555+
const labelWorldY = pos.podiumHeight + estimatedBodyHeight + 3;
556556

557557
const v = new THREE.Vector3(pos.x, labelWorldY, 0);
558558
v.project(camera);

website/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ p {
773773

774774
#bodytype-podium {
775775
width: 100%;
776-
margin: 0 auto;
776+
margin: 70px auto 0;
777777
}
778778

779779
.bodytype-3d-wrapper {

0 commit comments

Comments
 (0)