mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
[FIXED] ZONE_POLYGON from RECT ME drawing rotation not taken into account.
This commit is contained in:
parent
aace98545a
commit
935b52c489
@ -579,8 +579,8 @@ do -- Zones and Pathlines
|
||||
local h=objectData.height
|
||||
local rotation = UTILS.ToRadian(objectData.angle or 0)
|
||||
|
||||
local sinRot = math.sin(-rotation)
|
||||
local cosRot = math.cos(-rotation)
|
||||
local sinRot = math.sin(rotation)
|
||||
local cosRot = math.cos(rotation)
|
||||
local dx = h / 2
|
||||
local dy = w / 2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user