mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
Fixed a Color::Blend, it was having problems with the floating point precision.
This commit is contained in:
@@ -1433,8 +1433,8 @@ void cEETest::Input() {
|
||||
eeFloat nmX = Mousef.x + mAxisX;
|
||||
eeFloat nmY = Mousef.y + mAxisY;
|
||||
|
||||
nmX = eemax( nmX, 0.f );
|
||||
nmY = eemax( nmY, 0.f );
|
||||
nmX = eemax<eeFloat>( nmX, 0 );
|
||||
nmY = eemax<eeFloat>( nmY, 0 );
|
||||
nmX = eemin( nmX, (eeFloat)EE->GetWidth() );
|
||||
nmY = eemin( nmY, (eeFloat)EE->GetHeight() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user