feat: yaw and pitch

This commit is contained in:
TrèsAbhi committed 2024-01-19 22:08:05 -06:00
1 parent 369ba08780
commit 47f5f86da1
2 files changed
+3 -3

No files matched your search

@@ -56,7 +56,7 @@ export function RotationInputs({ duel: { protagonist } }: RotationInputsProps) {
flex: 1,
}}
>
<TextField.Slot>Turret</TextField.Slot>
<TextField.Slot>Yaw</TextField.Slot>
<TextField.Input
defaultValue={Math.round(physical.yaw * (180 / Math.PI))}
onBlur={() => {
@@ -92,7 +92,7 @@ export function RotationInputs({ duel: { protagonist } }: RotationInputsProps) {
flex: 1,
}}
>
<TextField.Slot>Gun</TextField.Slot>
<TextField.Slot>Pitch</TextField.Slot>
<TextField.Input
defaultValue={-Math.round(physical.pitch * (180 / Math.PI))}
onBlur={() => {
+1 -1
View File
@@ -169,7 +169,7 @@ export default function Page() {
</DropdownMenu.Root>
</Flex>
<Card variant="ghost">
<Card>
<Suspense fallback={<Text>Loading...</Text>}>
<Options />
</Suspense>