mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: yaw and pitch
This commit is contained in:
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={() => {
|
||||
|
||||
@@ -169,7 +169,7 @@ export default function Page() {
|
||||
</DropdownMenu.Root>
|
||||
</Flex>
|
||||
|
||||
<Card variant="ghost">
|
||||
<Card>
|
||||
<Suspense fallback={<Text>Loading...</Text>}>
|
||||
<Options />
|
||||
</Suspense>
|
||||
|
||||
Reference in new issue
Block a user