Fixed Vec2f::operator=() and Vec2i::operator=()

~g2k
This commit is contained in:
2005-07-02 14:45:02 -04:00
parent d1cd343417
commit f46ad5bc7f

View File

@@ -152,7 +152,7 @@ Vec2f Vec2f::operator/(double rtOp) const
Vec2f Vec2f::operator=(const Vec2f& rtOp)
{
x=rtOp.x;
y=rtOp.x;
y=rtOp.y;
return Vec2f(x,y);
}
@@ -228,7 +228,7 @@ Vec2i Vec2i::operator/(int rtOp) const
Vec2i Vec2i::operator=(const Vec2i& rtOp)
{
x=rtOp.x;
y=rtOp.x;
y=rtOp.y;
return Vec2i(x,y);
}