wires hack fix for master

This commit is contained in:
pingu7867 2024-06-04 20:20:04 -04:00 committed by GitHub
parent c1c8e0b6d0
commit 48743b7bd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,8 +16,11 @@ local math_min = math.min
local math_cos = math.cos
local math_pi = math.pi
local black = Color(0,0,0,100)
local vector_add = Vector(0, 2.5, 0)
local mtVector = FindMetaTable("Vector")
local mtColor = FindMetaTable("Color")
local mtColor = getmetatable(black)
local render_startBeam = render.StartBeam
local render_endBeam = render.EndBeam
local render_addBeam = render.AddBeam
@ -25,9 +28,6 @@ local setVecUnpacked = mtVector.SetUnpacked
local setColUnpacked = mtColor.SetUnpacked
local colUnpack = mtColor.Unpack
local black = Color(0,0,0,100)
local vector_add = Vector(0, 2.5, 0)
local function DrawHermite(width, x0,y0,x1,y1,c0,c1,alpha,samples)
--[[if x0 < 0 and x1 < 0 then return end