| 340 | } |
| 341 | |
| 342 | static int Vector3_add(lua_State *L) |
| 343 | { |
| 344 | Vector3* v1 = CheckVector3(L, 1); |
| 345 | Vector3* v2 = CheckVector3(L, 2); |
| 346 | PushVector3(L, *v1 + *v2); |
| 347 | return 1; |
| 348 | } |
| 349 | |
| 350 | static int Vector3_sub(lua_State *L) |
| 351 | { |
nothing calls this directly
no test coverage detected