Skip to content

Commit

Permalink
[Lint] fixed linting warning
Browse files Browse the repository at this point in the history
  • Loading branch information
untoldengine committed Feb 11, 2025
1 parent f171dbc commit 6b2ff46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/UntoldEngine/Utils/FuncUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -447,5 +447,7 @@ func quaternionDerivative(q: simd_quatf, omega: simd_float3) -> simd_quatf {
}

public func isWASDPressed() -> Bool {
return inputSystem.keyState.aPressed || inputSystem.keyState.wPressed || inputSystem.keyState.sPressed || inputSystem.keyState.dPressed
let isPressed: Bool = inputSystem.keyState.aPressed || inputSystem.keyState.wPressed || inputSystem.keyState.sPressed || inputSystem.keyState.dPressed

return isPressed
}

0 comments on commit 6b2ff46

Please sign in to comment.