static int quat_len(lua_State* L) { Quatf* self = check_quat(L, 1); lua_pushnumber(L, self->Len()); return 1; }