intermediate implementation with more support for input
This commit is contained in:
parent
39663f40ef
commit
dfe26d9424
9 changed files with 103 additions and 34 deletions
|
@ -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
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue