Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // On disk
- struct MotionChannelHeader
- {
- uint8 Zero;
- uint8 TypeFlags; // 0 = TimeCoded, 1 = AdaptiveDelta4, 2 = AdaptiveDelta8
- uint8 VectorLength
- uint8 unk1;
- sint16 unk2;
- sint16; unk3;
- };
- // On disk, follows MotionChannelHeader, vector length cannot be > 4, 1 = Scalar, 3 = Vector, 4 = Quaternion
- struct AdaptiveDeltaHeader
- {
- float unk4;
- float vector[4];
- uint8 data[chunksize - 12 - 4 * vectorlength];
- }
- // In memory
- struct MotionChannel
- {
- void *vtable;
- int unk1;
- int unk3;
- int unk2;
- int VectorLength;
- float unk4;
- float vector[4]; // Could be a union?
- uint8 *data;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement