forked from Simnation/Main
10 lines
No EOL
278 B
Lua
10 lines
No EOL
278 B
Lua
function v3(coords) return vec3(coords.x, coords.y, coords.z), coords.w end
|
|
|
|
function GetRandomInt(min, max, exclude)
|
|
for i=1, 1000 do
|
|
local int = math.random(min, max)
|
|
if exclude == nil or exclude ~= int then
|
|
return int
|
|
end
|
|
end
|
|
end |