Skip to content

Instantly share code, notes, and snippets.

@SDraw
Last active May 19, 2019 15:56
Show Gist options
  • Save SDraw/bcf66c6a674b0e79671b8b11d92ea44a to your computer and use it in GitHub Desktop.
Save SDraw/bcf66c6a674b0e79671b8b11d92ea44a to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE binary_file_format SYSTEM "BinaryFileFormat.dtd">
<binary_file_format name="RAFv2" type_name="" comment="" expr="" default_byte_order="little" default_read_only="false" default_char_set="ansi" web_site="https://github.com/SDraw/run-on-coal/wiki/RAF-structure">
<data type="int" name="FPS" format="unsigned" len="4" display=""/><data type="int" name="Duration" format="unsigned" len="4" display=""/>
<data type="int" name="BonesCount" format="unsigned" len="4" display=""/><for name="Bone" count="BonesCount" stop_test="" type_name="" comment=""><struct name="" type_name="" comment="" expr=""><data type="int" name="KeyframeCount" format="unsigned" len="4" display=""/><for name="Keyframe" count="KeyframeCount" stop_test="" type_name="" comment=""><struct name="" type_name="" comment="" expr=""><struct name="Position" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="Rotation" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/><data type="real" name="W" format="ieee" len="4" display=""/></struct><struct name="Scale" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><data type="int" name="FrameIndex" format="unsigned" len="4" display=""/></struct></for></struct></for></binary_file_format>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment