intermediate implementation with more support for input

This commit is contained in:
Hartmut Seichter 2019-01-09 16:24:16 +01:00
parent 39663f40ef
commit dfe26d9424
9 changed files with 103 additions and 34 deletions

View file

@ -3,6 +3,7 @@
#include "pw/core/vector.hpp"
#include "pw/core/quaternion.hpp"
#include "pw/core/axisangle.hpp"
#include "pw/core/debug.hpp"
namespace pw {
@ -50,6 +51,13 @@ void script_core::load(sol::table &ns)
"axis",scripting::property(&axisangled::axis,&axisangled::set_axis),
"angle",scripting::property(&axisangled::angle,&axisangled::set_angle)
);
ns.new_usertype<debug>("debug",
"new",sol::no_constructor,
"get",&debug::get
);
}