Adjust to new Ghoul update

This commit is contained in:
Alexander Bock
2023-03-04 21:12:35 -07:00
parent c4e9e9482b
commit 24ba6d5c7e
21 changed files with 32 additions and 24 deletions

View File

@@ -50,7 +50,7 @@ int DMat2Property::typeLua() const {
}
glm::dmat2x2 DMat2Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::dmat2x2>(state, success);
return ghoul::lua::value<glm::dmat2x2>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int DMat3Property::typeLua() const {
}
glm::dmat3x3 DMat3Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::mat3x3>(state, success);
return ghoul::lua::value<glm::mat3x3>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int DMat4Property::typeLua() const {
}
glm::dmat4x4 DMat4Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::dmat4x4>(state, success);
return ghoul::lua::value<glm::dmat4x4>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int Mat2Property::typeLua() const {
}
glm::mat2x2 Mat2Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::mat2x2>(state, success);
return ghoul::lua::value<glm::mat2x2>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int Mat3Property::typeLua() const {
}
glm::mat3x3 Mat3Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::mat3x3>(state, success);
return ghoul::lua::value<glm::mat3x3>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int Mat4Property::typeLua() const {
}
glm::mat4x4 Mat4Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::mat4x4>(state, success);
return ghoul::lua::value<glm::mat4x4>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int DVec2Property::typeLua() const {
}
glm::dvec2 DVec2Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::dvec2>(state, success);
return ghoul::lua::value<glm::dvec2>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int DVec3Property::typeLua() const {
}
glm::dvec3 DVec3Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::dvec3>(state, success);
return ghoul::lua::value<glm::dvec3>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int DVec4Property::typeLua() const {
}
glm::dvec4 DVec4Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::dvec4>(state, success);
return ghoul::lua::value<glm::dvec4>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int IVec2Property::typeLua() const {
}
glm::ivec2 IVec2Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::ivec2>(state, success);
return ghoul::lua::value<glm::ivec2>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int IVec3Property::typeLua() const {
}
glm::ivec3 IVec3Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::ivec3>(state, success);
return ghoul::lua::value<glm::ivec3>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int IVec4Property::typeLua() const {
}
glm::ivec4 IVec4Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::ivec4>(state, success);
return ghoul::lua::value<glm::ivec4>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int UVec2Property::typeLua() const {
}
glm::uvec2 UVec2Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::uvec2>(state, success);
return ghoul::lua::value<glm::uvec2>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int UVec3Property::typeLua() const {
}
glm::uvec3 UVec3Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::uvec3>(state, success);
return ghoul::lua::value<glm::uvec3>(state);
}
} // namespace openspace::properties

View File

@@ -50,7 +50,7 @@ int UVec4Property::typeLua() const {
}
glm::uvec4 UVec4Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::uvec4>(state, success);
return ghoul::lua::value<glm::uvec4>(state);
}
} // namespace openspace::properties

View File

@@ -49,7 +49,7 @@ int Vec2Property::typeLua() const {
}
glm::vec2 Vec2Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::vec2>(state, success);
return ghoul::lua::value<glm::vec2>(state);
}
} // namespace openspace::properties

View File

@@ -49,7 +49,7 @@ int Vec3Property::typeLua() const {
}
glm::vec3 Vec3Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::vec3>(state, success);
return ghoul::lua::value<glm::vec3>(state);
}
} // namespace openspace::properties

View File

@@ -49,7 +49,7 @@ int Vec4Property::typeLua() const {
}
glm::vec4 Vec4Property::fromLuaConversion(lua_State* state, bool& success) const {
return ghoul::lua::tryGetValue<glm::vec4>(state, success);
return ghoul::lua::value<glm::vec4>(state);
}
} // namespace openspace::properties