Skip to content

Commit

Permalink
opengl module: fix from DVector version did not copy over properly
Browse files Browse the repository at this point in the history
  • Loading branch information
LordOfDragons committed Jul 6, 2021
1 parent 7fddf28 commit 2ed9b3d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1595,8 +1595,7 @@ void deoglCollisionBox::SetCenter( const decVector &center ){
}

void deoglCollisionBox::SetHalfSize( const decVector &halfSize ){
if( halfSize.x < -1e-6f || halfSize.y < -1e-6f || halfSize.z < -1e-6f ) DETHROW( deeInvalidParam );
pHalfSize = halfSize;
pHalfSize = decVector().Largest( halfSize );
}

void deoglCollisionBox::SetOrientation( const decQuaternion &orientation ){
Expand Down

0 comments on commit 2ed9b3d

Please sign in to comment.