| 283 | } |
| 284 | |
| 285 | static int Vector3_tostring(lua_State *L) |
| 286 | { |
| 287 | Vector3* v = (Vector3*)lua_touserdata(L, 1); |
| 288 | lua_pushfstring(L, "vmath.%s(%f, %f, %f)", SCRIPT_TYPE_NAME_VECTOR3, v->getX(), v->getY(), v->getZ()); |
| 289 | return 1; |
| 290 | } |
| 291 | |
| 292 | static int Vector3_index(lua_State *L) |
| 293 | { |
nothing calls this directly
no test coverage detected