gosu_more_drawables 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/gosu_more_drawables/draw_arc.rb +6 -3
- data/lib/gosu_more_drawables/version.rb +1 -1
- data/media/screenshot.png +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe43ec2d12a661b9733a13c8fa19fdf98c6922ffc61bbb743585e4f3421c0bd4
|
|
4
|
+
data.tar.gz: 4fb4ace0322049b2e467fad3cca63fa625c6d5bf4a5d1242b7d8d5c5ebec71c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1db976e5668d8552254d237d765283e4dde40a7140275091d68c74bd6c3c1cffefa2484f51c5b178dd93c4a070795ead16065c8e92501f3315fadc9eb9b31098
|
|
7
|
+
data.tar.gz: 96e47b8998db6c3d93548c07bf351e9a4d03b6245dcc5d7e4432353fa36b939b5c01634fd462c89ebda44c7fa26dfb624c498c86cd74978a12b3254250633e7e
|
data/README.md
CHANGED
|
@@ -38,6 +38,8 @@ end
|
|
|
38
38
|
DemoWindow.new.show
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+

|
|
42
|
+
|
|
41
43
|
## Development
|
|
42
44
|
|
|
43
45
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
@@ -57,7 +57,8 @@ module Gosu
|
|
|
57
57
|
point_a_left_x, point_a_left_y, color.first,
|
|
58
58
|
point_b_left_x, point_b_left_y, color.last,
|
|
59
59
|
point_a_right_x, point_a_right_y, color.first,
|
|
60
|
-
point_b_right_x, point_b_right_y, color.last
|
|
60
|
+
point_b_right_x, point_b_right_y, color.last,
|
|
61
|
+
z, mode
|
|
61
62
|
)
|
|
62
63
|
elsif color.is_a?(Hash)
|
|
63
64
|
start_color = color[:from]
|
|
@@ -80,14 +81,16 @@ module Gosu
|
|
|
80
81
|
point_a_left_x, point_a_left_y, color_a,
|
|
81
82
|
point_b_left_x, point_b_left_y, color_a,
|
|
82
83
|
point_a_right_x, point_a_right_y, color_b,
|
|
83
|
-
point_b_right_x, point_b_right_y, color_b
|
|
84
|
+
point_b_right_x, point_b_right_y, color_b,
|
|
85
|
+
z, mode
|
|
84
86
|
)
|
|
85
87
|
else
|
|
86
88
|
Gosu.draw_quad(
|
|
87
89
|
point_a_left_x, point_a_left_y, color,
|
|
88
90
|
point_b_left_x, point_b_left_y, color,
|
|
89
91
|
point_a_right_x, point_a_right_y, color,
|
|
90
|
-
point_b_right_x, point_b_right_y, color
|
|
92
|
+
point_b_right_x, point_b_right_y, color,
|
|
93
|
+
z, mode
|
|
91
94
|
)
|
|
92
95
|
end
|
|
93
96
|
end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gosu_more_drawables
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cyberarm
|
|
@@ -72,6 +72,7 @@ files:
|
|
|
72
72
|
- lib/gosu_more_drawables/draw_arc.rb
|
|
73
73
|
- lib/gosu_more_drawables/draw_circle.rb
|
|
74
74
|
- lib/gosu_more_drawables/version.rb
|
|
75
|
+
- media/screenshot.png
|
|
75
76
|
homepage: https://github.com/cyberarm/gosu_more_drawables
|
|
76
77
|
licenses:
|
|
77
78
|
- MIT
|