simple comment update
This commit is contained in:
parent
d76fc8099e
commit
4b1947fe44
|
@ -61,7 +61,7 @@ void DrawUtils::draw_line(SDL_Surface* dest, Sint16 x1, Sint16 y1, Sint16 x2, Si
|
|||
|
||||
len = MathUtils::distance(x1,y1,x2,y2);
|
||||
|
||||
// changing dx and dy's meanings. Now they represent the amount we move
|
||||
// dx and dy represent the amount we move
|
||||
// each step in our drawing loop
|
||||
dx = static_cast<float>(x2-x1) / len;
|
||||
dy = static_cast<float>(y2-y1) / len;
|
||||
|
|
Loading…
Reference in New Issue
Block a user