diff options
author | aap <aap@papnet.eu> | 2020-04-25 15:56:20 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-25 15:56:20 +0200 |
commit | ea79cc4469dbe377e2da9e5019c1d709e95140d0 (patch) | |
tree | 825f07f2c985827d0732505e845605e53d3040b9 /src/fakerw/rphanim.h | |
parent | fixed shooting target (diff) | |
download | re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.gz re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.bz2 re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.lz re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.xz re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.tar.zst re3-ea79cc4469dbe377e2da9e5019c1d709e95140d0.zip |
Diffstat (limited to 'src/fakerw/rphanim.h')
-rw-r--r-- | src/fakerw/rphanim.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/fakerw/rphanim.h b/src/fakerw/rphanim.h index 34dfeb09..6ece8306 100644 --- a/src/fakerw/rphanim.h +++ b/src/fakerw/rphanim.h @@ -9,7 +9,15 @@ typedef rw::Animation RpHAnimAnimation; #define rpHANIMSTDKEYFRAMETYPEID 0x1 -typedef rw::HAnimKeyFrame RpHAnimStdKeyFrame; +// same as rw::HAnimKeyFrame, but we need RtQuat in this one +struct RpHAnimStdKeyFrame +{ + RpHAnimStdKeyFrame *prevFrame; + RwReal time; + RtQuat q; + RwV3d t; +}; + enum RpHAnimHierarchyFlag { |