[BUGFIX] set the pixel directly in the Image
This commit is contained in:
parent
b6ae353bdf
commit
18e51a5e97
@ -228,10 +228,13 @@ void draw::Image::Draw(void)
|
|||||||
|
|
||||||
void draw::Image::Dot(Vector2D<float> pos)
|
void draw::Image::Dot(Vector2D<float> pos)
|
||||||
{
|
{
|
||||||
Begin();
|
/*
|
||||||
MoveTo(pos);
|
Begin();
|
||||||
LineTo(pos+Vector2D<float>(1,1));
|
MoveTo(pos);
|
||||||
End();
|
LineTo(pos+Vector2D<float>(1,1));
|
||||||
|
End();
|
||||||
|
*/
|
||||||
|
Set(pos, m_fillColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw::Image::Line(Vector2D<float> posStart, Vector2D<float> posEnd)
|
void draw::Image::Line(Vector2D<float> posStart, Vector2D<float> posEnd)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user