mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-21 17:20:46 +00:00
Sync non-SSE bounding box calcuation in idRenderModelGLTF::UpdateSurface
This commit is contained in:
parent
0657a59c69
commit
5561411f65
1 changed files with 4 additions and 4 deletions
|
@ -1942,13 +1942,13 @@ void idRenderModelGLTF::UpdateSurface( const struct renderEntity_s* ent, const i
|
|||
_mm_store_ss( tri->bounds.ToFloatPtr() + 5, _mm_splat_ps( maxZ, 3 ) );
|
||||
|
||||
#else
|
||||
bounds.Clear();
|
||||
for( int i = 0; i < jointIds.Num(); i++ )
|
||||
tri->bounds.Clear();
|
||||
for( int i = 0; i < md5joints.Num(); i++ )
|
||||
{
|
||||
const idJointMat& joint = entJoints[i];
|
||||
bounds.AddPoint( joint.GetTranslation() );
|
||||
tri->bounds.AddPoint( joint.GetTranslation() );
|
||||
}
|
||||
bounds.ExpandSelf( maxJointVertDist );
|
||||
tri->bounds.ExpandSelf( maxJointVertDist );
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue