feat: add hover anim

This commit is contained in:
2026-06-01 16:49:04 -03:00
parent 719a75d393
commit 9a67a800fa
@@ -12,6 +12,7 @@ const SealCube = forwardRef<Mesh>((props, ref) => {
if (meshRef.current) { if (meshRef.current) {
meshRef.current.rotation.x += delta * 0.5; meshRef.current.rotation.x += delta * 0.5;
meshRef.current.rotation.y += delta * 0.5; meshRef.current.rotation.y += delta * 0.5;
meshRef.current.position.y = 3 + Math.sin(state.clock.getElapsedTime() * 1) * 0.15;
} }
}); });