mirror of
https://github.com/halpz/re3.git
synced 2025-07-16 16:38:10 +00:00
Merge branch 'master' into miami
# Conflicts: # src/control/Garages.cpp # src/core/FileLoader.cpp # src/core/Streaming.cpp # src/core/Zones.cpp # src/core/Zones.h # src/render/Renderer.cpp # src/rw/VisibilityPlugins.cpp
This commit is contained in:
@ -63,7 +63,10 @@ public:
|
||||
|
||||
CAnimBlendAssociation(void);
|
||||
CAnimBlendAssociation(CAnimBlendAssociation &other);
|
||||
virtual ~CAnimBlendAssociation(void);
|
||||
#ifndef FIX_BUGS
|
||||
virtual
|
||||
#endif
|
||||
~CAnimBlendAssociation(void);
|
||||
void AllocateAnimBlendNodeArray(int n);
|
||||
void FreeAnimBlendNodeArray(void);
|
||||
void Init(RpClump *clump, CAnimBlendHierarchy *hier);
|
||||
|
@ -148,11 +148,12 @@ FrameUpdateCallBackWithVelocityExtractionNonSkinned(AnimBlendFrameData *frame, v
|
||||
mat->pos.x = pos.x - transx;
|
||||
mat->pos.y = pos.y - transy;
|
||||
mat->pos.z = pos.z;
|
||||
if(mat->pos.z >= -0.8f)
|
||||
if(mat->pos.z >= -0.8f) {
|
||||
if(mat->pos.z < -0.4f)
|
||||
mat->pos.z += (2.5f * mat->pos.z + 2.0f) * frame->resetPos.z;
|
||||
else
|
||||
mat->pos.z += frame->resetPos.z;
|
||||
}
|
||||
mat->pos.x += frame->resetPos.x;
|
||||
mat->pos.y += frame->resetPos.y;
|
||||
}
|
||||
@ -356,11 +357,12 @@ FrameUpdateCallBackWithVelocityExtractionSkinned(AnimBlendFrameData *frame, void
|
||||
xform->t.x = pos.x - transx;
|
||||
xform->t.y = pos.y - transy;
|
||||
xform->t.z = pos.z;
|
||||
if(xform->t.z >= -0.8f)
|
||||
if(xform->t.z >= -0.8f) {
|
||||
if(xform->t.z < -0.4f)
|
||||
xform->t.z += (2.5f * xform->t.z + 2.0f) * frame->resetPos.z;
|
||||
else
|
||||
xform->t.z += frame->resetPos.z;
|
||||
}
|
||||
xform->t.x += frame->resetPos.x;
|
||||
xform->t.y += frame->resetPos.y;
|
||||
}
|
||||
|
Reference in New Issue
Block a user