mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add camera:look_at optional interpolation parameter
This commit is contained in:
parent
e0cb57a10a
commit
058daf6117
4 changed files with 15 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ local Camera = {__index={
|
|||
get_front=function(self) return cameras.get_front(self.cid) end,
|
||||
get_right=function(self) return cameras.get_right(self.cid) end,
|
||||
get_up=function(self) return cameras.get_up(self.cid) end,
|
||||
look_at=function(self, v) return cameras.look_at(self.cid, v) end,
|
||||
look_at=function(self, v, f) return cameras.look_at(self.cid, v, f) end,
|
||||
}}
|
||||
|
||||
local wrappers = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue