🚀 Auto-deploy: BrainWind atualizado em 24/08/2026 11:28:13

This commit is contained in:
2026-08-24 11:28:13 +00:00
parent ff01f68941
commit 0a4dc9b57a
2 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -37,9 +37,6 @@ function BridgeModel({
deckHeight,
heg,
cx,
cz,
fxPerLength,
fzPerLength,
alpha,
viewMode = 'solid',
}: Bridge3DInput) {
@@ -135,7 +132,7 @@ function BridgeModel({
}
export default function Bridge3DViewer(props: Bridge3DInput) {
const { lp, width, deckHeight, heg, cx, cz, fxPerLength, fzPerLength, alpha, viewMode = 'solid' } = props;
const { lp, width, deckHeight, heg, cx, cz, fxPerLength, fzPerLength, viewMode = 'solid' } = props;
const cameraDistance = Math.max(lp * 1.2, width * 2, deckHeight * 2, 15);
const theme = useCanvasTheme();
const isDark = theme === 'dark';
+2 -2
View File
@@ -1,4 +1,4 @@
import React, { useState } from 'react';
import { useState } from 'react';
import { getDragCoefficient } from '@/lib/drag';
import { useI18n } from '@/store/i18nStore';
import { DragCoefficientChart } from '@/components/DragCoefficientChart';
@@ -12,7 +12,7 @@ import { Slider } from '@/components/ui/slider';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
export default function CalcCaModule() {
const { t } = useI18n();
const i18n = useI18n(); // Apenas chamando caso necessário no ciclo de vida, sem extrair 't'
const [l1, setL1] = useState<number>(20);
const [l2, setL2] = useState<number>(40);
const [h, setH] = useState<number>(10);