added proper texturing support

This commit is contained in:
Hartmut Seichter 2021-02-04 22:56:27 +01:00
parent 749bb67c6c
commit b25ab14587
9 changed files with 108 additions and 61 deletions

View file

@ -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");