Fixed a Color::Blend, it was having problems with the floating point precision.

This commit is contained in:
Martín Lucas Golini
2013-08-23 23:06:52 -03:00
parent e7316f6200
commit 90d5833430
3 changed files with 8 additions and 8 deletions

View File

@@ -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() );