summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimBlendClumpData.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-13 13:06:38 +0100
committeraap <aap@papnet.eu>2021-01-13 13:06:38 +0100
commit2804ad2363626958be7513014b9a302ea72768b6 (patch)
tree7b8dcfe41c57392b982df3e41f0762246dfd7646 /src/animation/AnimBlendClumpData.h
parentrename m_vehEnterType -> m_vehDoor (diff)
downloadre3-2804ad2363626958be7513014b9a302ea72768b6.tar
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.gz
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.bz2
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.lz
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.xz
re3-2804ad2363626958be7513014b9a302ea72768b6.tar.zst
re3-2804ad2363626958be7513014b9a302ea72768b6.zip
Diffstat (limited to 'src/animation/AnimBlendClumpData.h')
-rw-r--r--src/animation/AnimBlendClumpData.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/animation/AnimBlendClumpData.h b/src/animation/AnimBlendClumpData.h
index 633fc7b9..bb711b28 100644
--- a/src/animation/AnimBlendClumpData.h
+++ b/src/animation/AnimBlendClumpData.h
@@ -3,7 +3,6 @@
#include "AnimBlendList.h"
-// TODO: put somewhere else
struct AnimBlendFrameData
{
enum {
@@ -31,7 +30,10 @@ class CAnimBlendClumpData
public:
CAnimBlendLink link;
int32 numFrames;
- CVector *velocity;
+ union {
+ CVector2D *velocity2d;
+ CVector *velocity3d;
+ };
// order of frames is determined by RW hierarchy
AnimBlendFrameData *frames;