Skip to content

Commit

Permalink
branchless-at
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jan 25, 2025
1 parent d290f36 commit b30fef6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/engine/qcommon/q_shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,7 @@ struct bounds_t

vec3_t& at( bool index )
{
if ( index )
{
return maxs;
}

return mins;
return ( &mins + ( index * 16 ) )[ 0 ];
}
};

Expand Down

0 comments on commit b30fef6

Please sign in to comment.