From 6b547613106cce7513806426c05a75f7bba92cfc Mon Sep 17 00:00:00 2001 From: Jackie9527 <80555200+Jackie9527@users.noreply.github.com> Date: Sat, 1 Apr 2023 10:30:10 +0800 Subject: [PATCH] Fix warning related to nested-anon-types. Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com> --- code/AssetLib/glTF/glTFAsset.h | 27 ++++++++++++++------------- code/CMakeLists.txt | 1 - 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/code/AssetLib/glTF/glTFAsset.h b/code/AssetLib/glTF/glTFAsset.h index d2ae84b49..b5e6375ad 100644 --- a/code/AssetLib/glTF/glTFAsset.h +++ b/code/AssetLib/glTF/glTFAsset.h @@ -513,21 +513,22 @@ struct Camera : public Object { }; Type type; + struct Perspective { + float aspectRatio; //!