forked from github/server
Distanzberechnungen in Lua
This commit is contained in:
parent
25dcc85f66
commit
19870b9b2b
|
@ -309,6 +309,7 @@ bind_region(lua_State * L)
|
||||||
def("regions", &get_regions, return_stl_iterator),
|
def("regions", &get_regions, return_stl_iterator),
|
||||||
def("get_region", &findregion),
|
def("get_region", &findregion),
|
||||||
def("terraform", ®ion_terraform),
|
def("terraform", ®ion_terraform),
|
||||||
|
def("distance", &distance),
|
||||||
|
|
||||||
class_<struct region>("region")
|
class_<struct region>("region")
|
||||||
.def(tostring(self))
|
.def(tostring(self))
|
||||||
|
|
Loading…
Reference in New Issue