| 402 | } |
| 403 | |
| 404 | static int Vector3_eq(lua_State *L) |
| 405 | { |
| 406 | Vector3* v1 = ToVector3(L, 1); |
| 407 | Vector3* v2 = ToVector3(L, 2); |
| 408 | lua_pushboolean(L, v1 && v2 && v1->getX() == v2->getX() && v1->getY() == v2->getY() && v1->getZ() == v2->getZ()); |
| 409 | return 1; |
| 410 | } |
| 411 | |
| 412 | static const luaL_reg Vector3_methods[] = |
| 413 | { |
nothing calls this directly
no test coverage detected