mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
23 lines
630 B
Lua
23 lines
630 B
Lua
--[[
|
|
| This file was obtained through the combined efforts
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
|
|
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
|
|
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
|
--]]
|
|
|
|
local meta = FindMetaTable( "Vector" )
|
|
|
|
-- Nothing in here, still leaving this file here just in case
|
|
|
|
--[[---------------------------------------------------------
|
|
Converts Vector To Color - alpha precision lost, must reset
|
|
-----------------------------------------------------------]]
|
|
function meta:ToColor( )
|
|
|
|
return Color( self.x * 255, self.y * 255, self.z * 255 )
|
|
|
|
end
|