Skip to content

Commit

Permalink
Simpler serializable vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Equinox- committed Jun 4, 2024
1 parent 1f04f17 commit bd325d9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions patches/shared.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<?xml version='1.0' encoding='utf-8'?>
<Patches>
<Type Name="SerializableVector2">
<Member Name="element:X" HideSample="true" />
<Member Name="element:Y" HideSample="true" />

<Member Name="attribute:x" Sample="1.2" />
<Member Name="attribute:y" Sample="3.4" />
</Type>

<Type Name="SerializableVector3">
<Member Name="element:X" HideSample="true" />
<Member Name="element:Y" HideSample="true" />
Expand All @@ -9,4 +17,16 @@
<Member Name="attribute:y" Sample="3.4" />
<Member Name="attribute:z" Sample="5.6" />
</Type>

<Type Name="SerializableVector4">
<Member Name="element:X" HideSample="true" />
<Member Name="element:Y" HideSample="true" />
<Member Name="element:Z" HideSample="true" />
<Member Name="element:W" HideSample="true" />

<Member Name="attribute:x" Sample="1.2" />
<Member Name="attribute:y" Sample="3.4" />
<Member Name="attribute:z" Sample="5.6" />
<Member Name="attribute:w" Sample="7.8" />
</Type>
</Patches>

0 comments on commit bd325d9

Please sign in to comment.