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 +4 -4
- data/Gemfile.lock +16 -14
- data/ext/cglm/rb_cglm.h +2 -2
- data/lib/cglm/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd4579b9374555d3609bab0c17d1a845f61257f732cb420113da094a3dfdc2fc
|
4
|
+
data.tar.gz: eec00bcfdf2840b89a5d4ec00170f9511ad8670acf0fe85dbfbc609d28ac7568
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
4
|
+
cglm (0.1.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
docile (1.
|
10
|
-
github-markup (
|
11
|
-
|
12
|
-
|
13
|
-
rake (
|
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.
|
17
|
-
simplecov (0.
|
15
|
+
redcarpet (3.5.1)
|
16
|
+
simplecov (0.21.2)
|
18
17
|
docile (~> 1.1)
|
19
|
-
|
20
|
-
|
21
|
-
simplecov-html (0.
|
22
|
-
|
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.
|
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(
|
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
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.
|
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:
|
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.
|
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.
|