added proper texturing support
This commit is contained in:
parent
749bb67c6c
commit
b25ab14587
9 changed files with 108 additions and 61 deletions
|
@ -236,7 +236,7 @@ void register_core_function(sol::state& lua,sol::table& ns)
|
|||
|
||||
|
||||
ns.new_usertype<rectangle>("rectangle"
|
||||
,sol::constructors<rectangle(),rectangle(const point_<float>&,const size_<float>&)>()
|
||||
,sol::call_constructor,sol::constructors<rectangle(),rectangle(const point_<float>&,const size_<float>&)>()
|
||||
);
|
||||
|
||||
auto mathf_table = ns.create_named("mathf");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue