From 9ab15ff68b41f9d03771ab466a800403e1ec4b5d Mon Sep 17 00:00:00 2001 From: Justin113D Date: Tue, 5 Nov 2024 21:21:05 +0100 Subject: [PATCH] Added Rotation Cache node attributes --- src/SA3D.Modeling/ObjectData/Enums/NodeAttributes.cs | 12 +++++++++++- .../PublicAPI/net8.0/PublicAPI.Unshipped.txt | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/SA3D.Modeling/ObjectData/Enums/NodeAttributes.cs b/src/SA3D.Modeling/ObjectData/Enums/NodeAttributes.cs index 68d4fb1..305c684 100644 --- a/src/SA3D.Modeling/ObjectData/Enums/NodeAttributes.cs +++ b/src/SA3D.Modeling/ObjectData/Enums/NodeAttributes.cs @@ -62,6 +62,16 @@ public enum NodeAttributes : uint /// /// Node uses a quaternion instead of euler angle for rotation information. /// - UseQuaternionRotation = Flag32.B10 + UseQuaternionRotation = Flag32.B10, + + /// + /// Cache rotation data before the object is processed + /// + CacheRotation = Flag32.B11, + + /// + /// Use cached rotation data (see ) + /// + ApplyCachedRotation = Flag32.B12 } } diff --git a/src/SA3D.Modeling/PublicAPI/net8.0/PublicAPI.Unshipped.txt b/src/SA3D.Modeling/PublicAPI/net8.0/PublicAPI.Unshipped.txt index 5f28270..3968e0e 100644 --- a/src/SA3D.Modeling/PublicAPI/net8.0/PublicAPI.Unshipped.txt +++ b/src/SA3D.Modeling/PublicAPI/net8.0/PublicAPI.Unshipped.txt @@ -1 +1,2 @@ - \ No newline at end of file +SA3D.Modeling.ObjectData.Enums.NodeAttributes.ApplyCachedRotation = 4096 -> SA3D.Modeling.ObjectData.Enums.NodeAttributes +SA3D.Modeling.ObjectData.Enums.NodeAttributes.CacheRotation = 2048 -> SA3D.Modeling.ObjectData.Enums.NodeAttributes \ No newline at end of file