fix attempt ^2: unuse INT32_MAX/MIN

This commit is contained in:
Michiharu Ariza 2018-09-17 12:02:12 -07:00
parent 4d963a2711
commit f0d74971ae
1 changed files with 4 additions and 4 deletions

View File

@ -136,10 +136,10 @@ struct ExtentsParam
{
inline void init (void)
{
min_x.set_int (INT32_MAX);
min_y.set_int (INT32_MAX);
max_x.set_int (INT32_MIN);
max_y.set_int (INT32_MIN);
min_x.set_int (0x7FFFFFFF);
min_y.set_int (0x7FFFFFFF);
max_x.set_int (-0x80000000);
max_y.set_int (-0x80000000);
}
inline void update_bounds (const Point &pt)