gosu 0.7.9.1-universal-darwin → 0.7.10.1-universal-darwin

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,5 +25,5 @@ http://code.google.com/p/gosu/
25
25
  ***
26
26
 
27
27
  Does NOT apply to fmod.dll shipped with the Windows version of Gosu,
28
- or the bytecode of FMOD contained in Gosu.framework on OS X.
29
- FMOD is a property of Firelight Technologies Pty, Ltd., see www.fmod.org.
28
+ or the bytecode of FMOD contained in Gosu.framework and gosu.bundle on OS X.
29
+ FMOD is a property of Firelight Technologies Pty, Ltd., see www.fmod.org.
@@ -3,7 +3,7 @@ Moin moin, dear Gosu user!
3
3
  * The latest documentation on how to install/set up Gosu can be found on:
4
4
  http://code.google.com/p/gosu/wiki/DocsOverview
5
5
 
6
- * Try doing to the tutorial there if you don't know how to start out!
6
+ * Try doing the tutorial there if you don't know how to start out!
7
7
 
8
8
  * If you have any questions or feedback,
9
9
  leave a comment on one of Gosu's wiki page,
@@ -19,16 +19,8 @@ SCREEN_HEIGHT = 480
19
19
  # Chipmunk step calls per update will effectively avoid this issue
20
20
  SUBSTEPS = 6
21
21
 
22
- # Convenience methods for converting between Gosu degrees, radians, and Vec2 vectors
23
- class Numeric
24
- def gosu_to_radians
25
- (self - 90) * Math::PI / 180.0
26
- end
27
-
28
- def radians_to_gosu
29
- self * 180.0 / Math::PI + 90
30
- end
31
-
22
+ # Convenience method for converting from radians to a Vec2 vector.
23
+ class Numeric
32
24
  def radians_to_vec2
33
25
  CP::Vec2.new(Math::cos(self), Math::sin(self))
34
26
  end
@@ -9,12 +9,8 @@ require 'gosu'
9
9
  require 'chipmunk'
10
10
  require 'RMagick'
11
11
 
12
- # Convenience method for converting between radians, Gosu degrees and Vec2 vectors.
12
+ # Convenience method for converting from radians to a Vec2 vector.
13
13
  class Numeric
14
- def radians_to_gosu
15
- self * 180.0 / Math::PI + 90
16
- end
17
-
18
14
  def radians_to_vec2
19
15
  CP::Vec2.new(Math::cos(self), Math::sin(self))
20
16
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9.1
4
+ version: 0.7.10.1
5
5
  platform: universal-darwin
6
6
  authors:
7
7
  - Julian Raschke
@@ -10,11 +10,11 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-04-13 00:00:00 +02:00
13
+ date: 2008-09-12 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
17
- description: 2D game development library. The library features easy to use and game-friendly interfaces to 2D graphics and text (accelerated by 3D hardware), sound samples and music as well as keyboard, mouse and gamepad/joystick input. Includes demos for integration with RMagick, Chipmunk and Ruby-OpenGL.
17
+ description: 2D game development library. Gosu features easy to use and game-friendly interfaces to 2D graphics and text (accelerated by 3D hardware), sound samples and music as well as keyboard, mouse and gamepad/joystick input. Also includes demos for integration with RMagick, Chipmunk and Ruby-OpenGL.
18
18
  email: julian@raschke.de
19
19
  executables: []
20
20
 
@@ -23,9 +23,8 @@ extensions: []
23
23
  extra_rdoc_files: []
24
24
 
25
25
  files:
26
- - lib/gosu.bundle
27
- - README
28
- - LICENSE
26
+ - COPYING.txt
27
+ - README.txt
29
28
  - examples/ChipmunkIntegration.rb
30
29
  - examples/CptnRuby.rb
31
30
  - examples/MoreChipmunkAndRMagick.rb
@@ -48,6 +47,7 @@ files:
48
47
  - examples/media/Space.png
49
48
  - examples/media/Star.png
50
49
  - examples/media/Starfighter.bmp
50
+ - lib/gosu.bundle
51
51
  has_rdoc: false
52
52
  homepage: http://code.google.com/p/gosu/
53
53
  post_install_message:
@@ -59,7 +59,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 1.8.1
62
+ version: 1.8.2
63
63
  version:
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  requirements: []
71
71
 
72
72
  rubyforge_project:
73
- rubygems_version: 1.1.1
73
+ rubygems_version: 1.2.0
74
74
  signing_key:
75
75
  specification_version: 2
76
76
  summary: 2D game development library.