mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 21:26:08 +01: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={() => {
|
||||
|
||||
Reference in new issue
Block a user