Here's what I'm doing:
1) Drawing a line from (0, 0) to (11, 10).
2) Drawing a 1x1 sprite at (11, 10).
However, the sprite is drawn AFTER the end of the line. In other words, the line is not ending at (11, 10).
What's going on here?
Here is my code:
' Define points
Dim p1 As Vector2 = New Vector2(0, 0)
Dim p2 As Vector2 = New Vector2(11, 10)
' Create and draw the line
Dim line As SFML.Graphics.Shape = SFML.Graphics.Shape.Line(p1, p2, 1, White)
m_renderWindow.Draw(line)
' Create and draw the sprite
Dim sprite As Sprite = New Sprite(New Image("tiles\1x1.bmp"))
sprite.Position = p2
m_renderWindow.Draw(sprite)