diff options
Diffstat (limited to 'gfx/gl/transform.h')
-rw-r--r-- | gfx/gl/transform.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gfx/gl/transform.h b/gfx/gl/transform.h index f8d8d0d..61b571d 100644 --- a/gfx/gl/transform.h +++ b/gfx/gl/transform.h @@ -5,7 +5,7 @@ class Transform {
public:
- explicit Transform(glm::vec3 pos = {}, glm::vec3 rot = {}, glm::vec3 scale = {1.0F, 1.0F, 1.0F});
+ explicit Transform(glm::vec3 pos = {}, glm::vec3 rot = {});
[[nodiscard]] glm::mat4 GetModel() const;
@@ -33,12 +33,6 @@ public: return rot;
}
- [[nodiscard]] inline glm::vec3 &
- GetScale()
- {
- return scale;
- }
-
inline void
SetPos(glm::vec3 && pos)
{
@@ -51,16 +45,9 @@ public: this->rot = rot;
}
- inline void
- SetScale(glm::vec3 && scale)
- {
- this->scale = scale;
- }
-
private:
glm::vec3 pos;
glm::vec3 rot;
- glm::vec3 scale;
};
#endif
|