Game Development Community

Error in Point2D::operator

by Bo Bindestreck · in Torque Game Builder · 08/01/2005 (5:07 pm) · 0 replies

The function

inline bool Point2D::operator==(const Point2D& _test) const
{
return (x == _test.x) && (y == _test.x);
}

should probably be slightly changed to perform better...
Not used in engine, but anyway.