Skip to content

Commit 9ab15ff

Browse files
committed
Added Rotation Cache node attributes
1 parent f3a22e1 commit 9ab15ff

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

src/SA3D.Modeling/ObjectData/Enums/NodeAttributes.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ public enum NodeAttributes : uint
6262
/// <summary>
6363
/// Node uses a quaternion instead of euler angle for rotation information.
6464
/// </summary>
65-
UseQuaternionRotation = Flag32.B10
65+
UseQuaternionRotation = Flag32.B10,
66+
67+
/// <summary>
68+
/// Cache rotation data before the object is processed
69+
/// </summary>
70+
CacheRotation = Flag32.B11,
71+
72+
/// <summary>
73+
/// Use cached rotation data (see <see cref="CacheRotation"/>)
74+
/// </summary>
75+
ApplyCachedRotation = Flag32.B12
6676
}
6777
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-

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

0 commit comments

Comments
 (0)