mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Fixed non Simdpath for idRenderModelGLTF::UpdateSurface
This commit is contained in:
parent
2ef1fe3ce2
commit
8e889c1804
1 changed files with 2 additions and 3 deletions
|
@ -1406,11 +1406,10 @@ 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 < numMeshJoints; i++ )
|
||||
for( int i = 0; i < jointIds.Num( ); i++ )
|
||||
{
|
||||
const idJointMat& joint = entJoints[meshJoints[i]];
|
||||
const idJointMat& joint = entJoints[i];
|
||||
bounds.AddPoint( joint.GetTranslation( ) );
|
||||
}
|
||||
bounds.ExpandSelf( maxJointVertDist );
|
||||
|
|
Loading…
Reference in a new issue