make operator functions const
This commit is contained in:
@ -43,7 +43,7 @@ void Graphics::plot(const Vec2bf &from, const Vec2bf &to)
|
||||
{
|
||||
for (double i = 0.0; i < this->w; i++) {
|
||||
for (double j = 0.0; j < this->h; j++) {
|
||||
BigFloat f = from.x + (i / this->w) * (from.x - to.x);
|
||||
BigFloat f = (from.x - to.x) * from.x + (i / this->w);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user