mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add missing methods to the OOP wrapper
This commit is contained in:
parent
a8388a6243
commit
a7404c2637
2 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,10 @@ local Text3D = {__index={
|
|||
hide=function(self) return gfx.text3d.hide(self.id) end,
|
||||
get_pos=function(self) return gfx.text3d.get_pos(self.id) end,
|
||||
set_pos=function(self, v) return gfx.text3d.set_pos(self.id, v) end,
|
||||
get_axis_x=function(self) return gfx.text3d.get_axis_x(self.id) end,
|
||||
set_axis_x=function(self, v) return gfx.text3d.set_axis_x(self.id, v) end,
|
||||
get_axis_y=function(self) return gfx.text3d.get_axis_y(self.id) end,
|
||||
set_axis_y=function(self, v) return gfx.text3d.set_axis_y(self.id, v) end,
|
||||
get_text=function(self) return gfx.text3d.get_text(self.id) end,
|
||||
set_text=function(self, s) return gfx.text3d.set_text(self.id, s) end,
|
||||
update_settings=function(self, t) return gfx.text3d.update_settings(self.id, t) end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue