mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
fixed deg method
This commit is contained in:
parent
51327e0613
commit
3496cc07d7
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -275,7 +275,7 @@ function airutils.getLiftAccel(self, velocity, accel, longit_speed, roll, curr_p
|
|||
|
||||
local angle_of_attack = math.rad(self._angle_of_attack + wing_config)
|
||||
--local acc = 0.8
|
||||
local daoa = deg(angle_of_attack)
|
||||
local daoa = math.deg(angle_of_attack)
|
||||
--minetest.chat_send_all(dump(daoa))
|
||||
|
||||
--to decrease the lift coefficient at hight altitudes
|
||||
|
|
Loading…
Add table
Reference in a new issue