vector2d.h: fix for the fix of the awrning fix.
This commit is contained in:
parent
c08f482ed4
commit
52bf337b55
|
@ -363,7 +363,7 @@ VECTOR2<T> VECTOR2<T>::Resize( T aNewLength ) const
|
|||
static_cast<T>(
|
||||
( y < 0 ? -1 : 1 ) *
|
||||
KiROUND( std::sqrt( rescale( l_sq_new, (extended_type) y * y, l_sq_current ) ) )
|
||||
* sign( aNewLength ) ) );
|
||||
) ) * sign( aNewLength );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -373,7 +373,7 @@ VECTOR2<T> VECTOR2<T>::Resize( T aNewLength ) const
|
|||
static_cast<T>(
|
||||
( y < 0 ? -1 : 1 ) *
|
||||
std::sqrt( rescale( l_sq_new, (extended_type) y * y, l_sq_current ) )
|
||||
* sign( aNewLength ) ));
|
||||
)) * sign( aNewLength );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue