🚀 Auto-deploy: BrainWind atualizado em 29/07/2026 10:31:09
This commit is contained in:
@@ -159,14 +159,14 @@ function CylinderModel({ diameter, height, cpeProfile, cpi, viewMode = 'solid' }
|
|||||||
</mesh>
|
</mesh>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
{/* Texto Vento - fora do grupo para rotação horizontal compatível (0, 0, 0) e tamanho 50% maior (0.6) */}
|
{/* Texto Vento - acima da seta com o dobro do tamanho (1.2) */}
|
||||||
<Text
|
<Text
|
||||||
position={[-radius - 4.2, height / 2, 0]}
|
position={[-radius - 2.5, height / 2 + 1.0, 0]}
|
||||||
rotation={[0, 0, 0]}
|
rotation={[0, 0, 0]}
|
||||||
fontSize={0.6}
|
fontSize={1.2}
|
||||||
color="#3b82f6"
|
color="#3b82f6"
|
||||||
anchorX="center"
|
anchorX="center"
|
||||||
anchorY="middle"
|
anchorY="bottom"
|
||||||
>
|
>
|
||||||
Vento
|
Vento
|
||||||
</Text>
|
</Text>
|
||||||
@@ -201,6 +201,7 @@ export default function Cylinder3DViewer({ diameter, height, cpeProfile, cpi, vi
|
|||||||
return (
|
return (
|
||||||
<SceneCanvas moduleId="cilindro"
|
<SceneCanvas moduleId="cilindro"
|
||||||
shadows
|
shadows
|
||||||
|
frameloop={viewMode === 'airflow' ? 'always' : 'demand'}
|
||||||
gl={{ preserveDrawingBuffer: true, antialias: true }}
|
gl={{ preserveDrawingBuffer: true, antialias: true }}
|
||||||
camera={{ position: [diameter * 1.5, height * 1.2, diameter * 1.5], fov: 40 }}
|
camera={{ position: [diameter * 1.5, height * 1.2, diameter * 1.5], fov: 40 }}
|
||||||
fallback={fallback}
|
fallback={fallback}
|
||||||
|
|||||||
Reference in New Issue
Block a user