fix attempt ^2: unuse INT32_MAX/MIN
This commit is contained in:
parent
4d963a2711
commit
f0d74971ae
|
@ -136,10 +136,10 @@ struct ExtentsParam
|
||||||
{
|
{
|
||||||
inline void init (void)
|
inline void init (void)
|
||||||
{
|
{
|
||||||
min_x.set_int (INT32_MAX);
|
min_x.set_int (0x7FFFFFFF);
|
||||||
min_y.set_int (INT32_MAX);
|
min_y.set_int (0x7FFFFFFF);
|
||||||
max_x.set_int (INT32_MIN);
|
max_x.set_int (-0x80000000);
|
||||||
max_y.set_int (INT32_MIN);
|
max_y.set_int (-0x80000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void update_bounds (const Point &pt)
|
inline void update_bounds (const Point &pt)
|
||||||
|
|
Loading…
Reference in New Issue