From 83fe50ee1fd3d46d5c1281b6a1b17e2680582c4a Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Thu, 20 Oct 2022 01:06:17 +0300 Subject: [PATCH] Fix CElementGen being abstract --- include/Kyoto/Particles/CElementGen.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Kyoto/Particles/CElementGen.hpp b/include/Kyoto/Particles/CElementGen.hpp index c8332228..9c7911ff 100644 --- a/include/Kyoto/Particles/CElementGen.hpp +++ b/include/Kyoto/Particles/CElementGen.hpp @@ -56,8 +56,8 @@ public: virtual void SetParticleEmission(bool emission); virtual void SetModulationColor(const CColor& col); virtual void SetGeneratorRate(float rate) {} - virtual CTransform4f GetOrientation() const; - virtual CVector3f GetTranslation() const; + virtual const CTransform4f& GetOrientation() const; + virtual const CVector3f& GetTranslation() const; virtual CTransform4f GetGlobalOrientation() const; virtual CVector3f GetGlobalTranslation() const; virtual CVector3f GetGlobalScale() const;