mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
Merge branch 'main' into heightmaps
This commit is contained in:
commit
feb86a547f
7 changed files with 100 additions and 22 deletions
|
|
@ -22,6 +22,9 @@ local Camera = {__index={
|
|||
local wrappers = {}
|
||||
|
||||
cameras.get = function(name)
|
||||
if type(name) == 'number' then
|
||||
return cameras.get(cameras.name(name))
|
||||
end
|
||||
local wrapper = wrappers[name]
|
||||
if wrapper ~= nil then
|
||||
return wrapper
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue