Skip to content

Commit

Permalink
Update wind speed maps. Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Oct 22, 2024
1 parent b8b5d94 commit 5eaad2c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
Binary file added public/videos/wind_speed_global_100km.webm
Binary file not shown.
Binary file modified public/videos/wind_speed_global_10km.webm
Binary file not shown.
1 change: 1 addition & 0 deletions src/components/globe-map/controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const Controls = ({ marker, active = false, enabled = false, groupRef, re
setEnabled: (enabled: boolean) => void
groupRef: React.MutableRefObject<Group>
resetSelectedMarker: () => void,
globePhase: number
}) => {
const cameraControlsRef = useRef<CameraControls>(null!);
const [resettingPosition, setResettingPosition] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion src/components/section-2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function Section2() {
style={{ width: screenWidth }}
hasMarkers={globePhase > 1}
rotate={globePhase === 1}
videoMaterial={globePhase < 2 ? "videos/wind_speed_global_10km.webm" : undefined}
videoMaterial={globePhase < 2 ? "videos/wind_speed_global_100km.webm" : undefined}
globePhase={globePhase}
/>
</div>
Expand Down

0 comments on commit 5eaad2c

Please sign in to comment.