cglm 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 239ddc2c75a6a3939ded1179375071ae43924887a73f8c193e256e2f6e45879f
4
- data.tar.gz: 5b3f6be03330019caa0024adb0062e5a20d9e88e5b9141debb3028c39bb4f7b3
3
+ metadata.gz: fd4579b9374555d3609bab0c17d1a845f61257f732cb420113da094a3dfdc2fc
4
+ data.tar.gz: eec00bcfdf2840b89a5d4ec00170f9511ad8670acf0fe85dbfbc609d28ac7568
5
5
  SHA512:
6
- metadata.gz: 76c5578265a2e6130746a46a47aa3f2749e9d7202dea356dc2f2e7708515112986d7dee9602a272f2b0d2cd32b98aceddfb4292cd3e5aaf09a7c3afade0c6c9e
7
- data.tar.gz: 730f64f9d352059b73d38d2b1da7020eae9bc3ea8b49f91514a853d7f12eb95fd00e1b5cc89320bc5a722f143930348d6c865f935e50e987cdc4b536d5d3f7fd
6
+ metadata.gz: 7b46a8722dfb486d100fea491ce2be47bf6307fe2fe83ed4f3f68a3ec60883a7ebb9288ab8683d39a67088a7dc8e42e8413fdb5422014dfc94117b35f00f50fc
7
+ data.tar.gz: 8eb888e6d8c7b7f5b4e18bb74bf3cd5f12bca5c1aa7b83a4f44085280e5d91083a75482a6e3058a2e99797fb13a8c1aecf196df7890245ba0fe3b49c85e958b5
data/Gemfile.lock CHANGED
@@ -1,25 +1,27 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cglm (0.1.1)
4
+ cglm (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- docile (1.3.2)
10
- github-markup (3.0.4)
11
- json (2.3.0)
12
- minitest (5.14.0)
13
- rake (13.0.1)
14
- rake-compiler (1.1.0)
9
+ docile (1.4.0)
10
+ github-markup (4.0.0)
11
+ minitest (5.15.0)
12
+ rake (13.0.6)
13
+ rake-compiler (1.1.9)
15
14
  rake
16
- redcarpet (3.5.0)
17
- simplecov (0.17.1)
15
+ redcarpet (3.5.1)
16
+ simplecov (0.21.2)
18
17
  docile (~> 1.1)
19
- json (>= 1.8, < 3)
20
- simplecov-html (~> 0.10.0)
21
- simplecov-html (0.10.2)
22
- yard (0.9.24)
18
+ simplecov-html (~> 0.11)
19
+ simplecov_json_formatter (~> 0.1)
20
+ simplecov-html (0.12.3)
21
+ simplecov_json_formatter (0.1.4)
22
+ webrick (1.7.0)
23
+ yard (0.9.27)
24
+ webrick (~> 1.7.0)
23
25
 
24
26
  PLATFORMS
25
27
  ruby
@@ -36,4 +38,4 @@ DEPENDENCIES
36
38
  yard (~> 0.9)
37
39
 
38
40
  BUNDLED WITH
39
- 2.1.2
41
+ 2.2.3
data/ext/cglm/rb_cglm.h CHANGED
@@ -97,7 +97,7 @@ static inline size_t vec3_size() { return sizeof(vec3); }
97
97
  static inline size_t vec4_size() { return sizeof(vec4); }
98
98
  static inline size_t aabb_size() { return sizeof(aabb); }
99
99
  static inline size_t mat4_size() { return sizeof(mat4); }
100
- static inline size_t mat3_size() { return sizeof(mat4); }
100
+ static inline size_t mat3_size() { return sizeof(mat3); }
101
101
  static inline size_t quat_size() { return sizeof(mat4); }
102
102
  static inline size_t plane_size() { return sizeof(plane); }
103
103
 
@@ -153,7 +153,7 @@ static inline void *VAL2ADDR(VALUE val, size_t min_size) {
153
153
  VALUE addr = rb_funcall(val, rb_intern("addr"), 0);
154
154
  VALUE size = rb_funcall(addr, rb_intern("size"), 0);
155
155
  if (min_size > NUM2SIZET(size))
156
- rb_raise(rb_eArgError, "memory store (size %zu) is not large enough to be converted into the requested type (size %zu)", NUM2SIZET(size), min_size);
156
+ rb_raise(rb_eArgError, "memory store (size %zu) is not large enough to be converted into the requested type (size %zu)", (size_t) NUM2SIZET(size), min_size);
157
157
  return NUM2PTR(rb_funcall(addr, rb_intern("to_i"), 0));
158
158
  }
159
159
 
data/lib/cglm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CGLM
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cglm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin MacKenzie IV
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-23 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description:
125
+ description:
126
126
  email:
127
127
  - sinisterchipmunk@gmail.com
128
128
  executables: []
@@ -255,7 +255,7 @@ metadata:
255
255
  allowed_push_host: https://rubygems.org
256
256
  homepage_uri: https://github.com/sinisterchipmunk/cglm-ruby
257
257
  source_code_uri: https://github.com/sinisterchipmunk/cglm-ruby
258
- post_install_message:
258
+ post_install_message:
259
259
  rdoc_options: []
260
260
  require_paths:
261
261
  - lib
@@ -270,8 +270,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
270
  - !ruby/object:Gem::Version
271
271
  version: '0'
272
272
  requirements: []
273
- rubygems_version: 3.1.2
274
- signing_key:
273
+ rubygems_version: 3.2.3
274
+ signing_key:
275
275
  specification_version: 4
276
276
  summary: Ruby bindings for CGLM (https://github.com/recp/cglm), a high performance
277
277
  math library for graphics applications.