salamander 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,14 +3,14 @@ module Salamander::Drawing
3
3
  def draw_to (x2, y2)
4
4
  x1, y1 = position
5
5
  move_to(x2, y2)
6
- SDL::Gfx.lineColor(surface, x1.round, y1.round, x2.round, y2.round, color)
6
+ SDL::Gfx.aalineColor(surface, x1.round, y1.round, x2.round, y2.round, color)
7
7
  end
8
8
 
9
9
  def draw (distance)
10
10
  x1, y1 = position
11
11
  move distance
12
12
  x2, y2 = position
13
- SDL::Gfx.lineColor(surface, x1.round, y1.round, x2.round, y2.round, color)
13
+ SDL::Gfx.aalineColor(surface, x1.round, y1.round, x2.round, y2.round, color)
14
14
  end
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Salamander
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jonathan Castello