diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 04:45:18 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 04:45:18 +0300 |
commit | 84c9484e55874c57c1c017cb2394e0c6b2f32303 (patch) | |
tree | bcd2cbc38055ee38aa1aa2b35dd46d0f5e2e0772 /src/core/Placeable.h | |
parent | 131e8af174a106e2bf98da8ef3ab7ba0bb55e09e (diff) |
SetPosition, final part
Diffstat (limited to 'src/core/Placeable.h')
-rw-r--r-- | src/core/Placeable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Placeable.h b/src/core/Placeable.h index d39bb0d9..7e858283 100644 --- a/src/core/Placeable.h +++ b/src/core/Placeable.h @@ -10,7 +10,7 @@ public: CPlaceable(void); virtual ~CPlaceable(void); - CVector &GetPosition(void) { return m_matrix.GetPosition(); } + const CVector &GetPosition(void) { return m_matrix.GetPosition(); } void SetPosition(float x, float y, float z) { m_matrix.GetPosition().x = x; m_matrix.GetPosition().y = y; |