Skip to content

Commit

Permalink
Added Rotation Cache node attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin113D committed Nov 5, 2024
1 parent f3a22e1 commit 9ab15ff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 11 additions & 1 deletion src/SA3D.Modeling/ObjectData/Enums/NodeAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ public enum NodeAttributes : uint
/// <summary>
/// Node uses a quaternion instead of euler angle for rotation information.
/// </summary>
UseQuaternionRotation = Flag32.B10
UseQuaternionRotation = Flag32.B10,

/// <summary>
/// Cache rotation data before the object is processed
/// </summary>
CacheRotation = Flag32.B11,

/// <summary>
/// Use cached rotation data (see <see cref="CacheRotation"/>)
/// </summary>
ApplyCachedRotation = Flag32.B12
}
}
3 changes: 2 additions & 1 deletion src/SA3D.Modeling/PublicAPI/net8.0/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

SA3D.Modeling.ObjectData.Enums.NodeAttributes.ApplyCachedRotation = 4096 -> SA3D.Modeling.ObjectData.Enums.NodeAttributes
SA3D.Modeling.ObjectData.Enums.NodeAttributes.CacheRotation = 2048 -> SA3D.Modeling.ObjectData.Enums.NodeAttributes

0 comments on commit 9ab15ff

Please sign in to comment.