1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 05:55:08 +00:00

Painter: Re-enable diagonal draw_line().

This code still needs clipping, but the basic concept works. It was disabled
since before the kernel had floating point support.
This commit is contained in:
Andreas Kling 2019-05-04 23:40:52 +02:00
parent a8c856ed3d
commit f3aec1a0d9
3 changed files with 7 additions and 4 deletions

View file

@ -91,4 +91,9 @@ double acos(double)
ASSERT_NOT_REACHED();
}
double fabs(double value)
{
return value < 0 ? -value : value;
}
}