mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-12 16:57:00 -04:00
No need to use accessors here
This commit is contained in:
parent
65b5446fd1
commit
853c159257
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user