stb_image_ffi 1.0.0 → 1.0.1
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/Gemfile.lock +1 -1
- data/lib/stb_image_ffi/version.rb +1 -1
- data/stb_image_ffi.gemspec +11 -1
- metadata +11 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4a31b1d706739f440e7a145eec6ba234e57cb40d32866873784e74973b563e5
|
|
4
|
+
data.tar.gz: 0c7e9ea9aa08460d4c7e07ed67ccd28ad32dfd8b94d052465d30df1bb664b823
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9495194d3cbdc63565a0b98bb088bbeedd552d2573d37a7197aba2fa41c504b025803ff22a4f23e1ca0bfcea8f2fe880861da7c6a1dd820058eb64802feb8c7d
|
|
7
|
+
data.tar.gz: 2cddc923f1f67f3881946dc3c7022a142a8c0d79dca2fcbfa5a8c582874a6290fd112d70fea8a41a4f2ca906a72e39915420542c57c08ef432a7da93ea1efb3d
|
data/Gemfile.lock
CHANGED
data/stb_image_ffi.gemspec
CHANGED
|
@@ -9,7 +9,17 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = ["boatrite@mobiledoorman.com"]
|
|
10
10
|
|
|
11
11
|
spec.summary = "Bindings for stb_image, the single file image loading library"
|
|
12
|
-
spec.description =
|
|
12
|
+
spec.description = <<~DESCRIPTION
|
|
13
|
+
Very naive bindings for `stb_image.h`. Implements only
|
|
14
|
+
`stbi_set_flip_vertically_on_load` and `stb_load` since these are the
|
|
15
|
+
2 functions I need to load an image as a texture in OpenGL.
|
|
16
|
+
|
|
17
|
+
The reason I made this instead of using
|
|
18
|
+
[stb-image](https://rubygems.org/gems/stb-image) is because stb-image didn't
|
|
19
|
+
implement `stbi_set_flip_vertically_on_load`, as far as I can tell, which is
|
|
20
|
+
useful/necessary when wanting to load image data in a format immediately
|
|
21
|
+
consumable by OpenGL (see Example in README).
|
|
22
|
+
DESCRIPTION
|
|
13
23
|
spec.homepage = "https://github.com/boatrite/stb_image_ffi"
|
|
14
24
|
spec.license = "MIT"
|
|
15
25
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stb_image_ffi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Boatrite
|
|
@@ -80,7 +80,16 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '3.0'
|
|
83
|
-
description:
|
|
83
|
+
description: |
|
|
84
|
+
Very naive bindings for `stb_image.h`. Implements only
|
|
85
|
+
`stbi_set_flip_vertically_on_load` and `stb_load` since these are the
|
|
86
|
+
2 functions I need to load an image as a texture in OpenGL.
|
|
87
|
+
|
|
88
|
+
The reason I made this instead of using
|
|
89
|
+
[stb-image](https://rubygems.org/gems/stb-image) is because stb-image didn't
|
|
90
|
+
implement `stbi_set_flip_vertically_on_load`, as far as I can tell, which is
|
|
91
|
+
useful/necessary when wanting to load image data in a format immediately
|
|
92
|
+
consumable by OpenGL (see Example in README).
|
|
84
93
|
email:
|
|
85
94
|
- boatrite@mobiledoorman.com
|
|
86
95
|
executables: []
|