mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 04:00:37 -06:00
Various coding style
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
|
||||
namespace openspace::properties {
|
||||
|
||||
class Mat4Property : public NumericalProperty<glm::mat4x4> {
|
||||
class Mat4Property : public NumericalProperty<glm::mat4> {
|
||||
public:
|
||||
Mat4Property(Property::PropertyInfo info, glm::mat4x4 value = glm::mat4x4(),
|
||||
glm::mat4x4 minValue =
|
||||
Mat4Property(Property::PropertyInfo info, glm::mat4 value = glm::mat4(),
|
||||
glm::mat4 minValue =
|
||||
ghoul::createFillMat4x4<float>(std::numeric_limits<float>::lowest()),
|
||||
glm::mat4x4 maxValue =
|
||||
glm::mat4 maxValue =
|
||||
ghoul::createFillMat4x4<float>(std::numeric_limits<float>::max()),
|
||||
glm::mat4x4 stepValue = ghoul::createFillMat4x4<float>(0.01f));
|
||||
glm::mat4 stepValue = ghoul::createFillMat4x4<float>(0.01f));
|
||||
|
||||
std::string_view className() const override final;
|
||||
ghoul::lua::LuaTypes typeLua() const override final;
|
||||
@@ -47,10 +47,10 @@ public:
|
||||
void getLuaValue(lua_State* state) const override final;
|
||||
|
||||
std::string stringValue() const override final;
|
||||
using TemplateProperty<glm::mat4x4>::operator=;
|
||||
using TemplateProperty<glm::mat4>::operator=;
|
||||
|
||||
private:
|
||||
glm::mat4x4 toValue(lua_State* state) const override final;
|
||||
glm::mat4 toValue(lua_State* state) const override final;
|
||||
};
|
||||
|
||||
} // namespace openspace::properties
|
||||
|
||||
Reference in New Issue
Block a user