From 27861d5c7806cbac411d42ff3df17b09a2f00b03 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 24 Apr 2020 00:59:49 -0400 Subject: [PATCH] CUVElement: Convert stateful structs into classes Avoids exposing the internals of the data by default (since they were previously fully accessible). --- Runtime/Particle/CUVElement.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/Particle/CUVElement.hpp b/Runtime/Particle/CUVElement.hpp index 2ac1fefe5..bf7ea25eb 100644 --- a/Runtime/Particle/CUVElement.hpp +++ b/Runtime/Particle/CUVElement.hpp @@ -25,7 +25,7 @@ public: virtual bool HasConstantUV() const = 0; }; -struct CUVEConstant : public CUVElement { +class CUVEConstant : public CUVElement { TLockedToken x4_tex; public: @@ -38,7 +38,7 @@ public: bool HasConstantUV() const override { return true; } }; -struct CUVEAnimTexture : public CUVElement { +class CUVEAnimTexture : public CUVElement { TLockedToken x4_tex; int x10_tileW, x14_tileH, x18_strideW, x1c_strideH; int x20_tiles;