No need to use accessors here

This commit is contained in:
Dmitry Marakasov 2014-12-25 19:32:55 +03:00
parent 65b5446fd1
commit 853c159257

View File

@ -108,7 +108,7 @@ void Renderer::DrawPoint(int x, int y) {
} }
void Renderer::DrawPoint(const Point& p) { void Renderer::DrawPoint(const Point& p) {
DrawPoint(p.GetX(), p.GetY()); DrawPoint(p.x, p.y);
} }
void Renderer::DrawPoints(const Point* points, int count) { void Renderer::DrawPoints(const Point* points, int count) {