from retail

This commit is contained in:
NoM0Re
2025-01-16 16:44:32 +01:00
parent c080aa96d5
commit c133385b44
7 changed files with 37 additions and 19 deletions
+1
View File
@@ -94,6 +94,7 @@ local function modify(parent, region, data)
--region.texture:SetRotation((data.rotation / 180) * math.pi);
local function GetRotatedPoints(degrees)
degrees = degrees or 0
local angle = rad(135 - degrees);
local vx = math.cos(angle);
local vy = math.sin(angle);