snow-math 1.7.1 → 1.7.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/COPYING +0 -4
- data/README.md +0 -4
- data/lib/snow-math/mat3.rb +2 -2
- data/lib/snow-math/mat4.rb +2 -2
- data/lib/snow-math/version.rb +1 -1
- metadata +23 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0af204148167430fcf30ffe0f3b367202b19ba04
|
4
|
+
data.tar.gz: 6bbc7fa13489acd1ec50bcc0fd967a3b491c5edd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15ef594129c46d461dc568298ed3f9a40f1397c14004edbcb5d6a8d069bd182672fb783b0180f6627aa91c8b717591c82a7bb623ffc64d698f872b07f4ea2bf3
|
7
|
+
data.tar.gz: d0e4ad56b810232aa6b73f7f14ced4b6ffd72da3fb6dd2318915a2ddbf02fdb0df5d4f5ceea420b5d8a02c35792628455e8044e971805eb6484fc5856297038b
|
data/COPYING
CHANGED
@@ -20,7 +20,3 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
20
20
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
21
21
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
22
22
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23
|
-
|
24
|
-
The views and conclusions contained in the software and documentation are those
|
25
|
-
of the authors and should not be interpreted as representing official policies,
|
26
|
-
either expressed or implied, of the FreeBSD Project.
|
data/README.md
CHANGED
@@ -243,7 +243,3 @@ you, please contact me. The license is reproduced here:
|
|
243
243
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
244
244
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
245
245
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
246
|
-
|
247
|
-
The views and conclusions contained in the software and documentation are those
|
248
|
-
of the authors and should not be interpreted as representing official policies,
|
249
|
-
either expressed or implied, of the FreeBSD Project.
|
data/lib/snow-math/mat3.rb
CHANGED
@@ -121,8 +121,8 @@ class Snow::Mat3
|
|
121
121
|
#
|
122
122
|
def multiply!(rhs)
|
123
123
|
multiply rhs, case rhs
|
124
|
-
when Mat3, Numeric then self
|
125
|
-
when Vec3 then rhs
|
124
|
+
when ::Snow::Mat3, Numeric then self
|
125
|
+
when ::Snow::Vec3 then rhs
|
126
126
|
else raise TypeError, "Invalid type for RHS"
|
127
127
|
end
|
128
128
|
end
|
data/lib/snow-math/mat4.rb
CHANGED
@@ -126,8 +126,8 @@ class Snow::Mat4
|
|
126
126
|
# #multiply(rhs, rhs).
|
127
127
|
def multiply!(rhs)
|
128
128
|
multiply rhs, case rhs
|
129
|
-
when Mat4, Numeric then self
|
130
|
-
when Vec4, Vec3 then rhs
|
129
|
+
when ::Snow::Mat4, Numeric then self
|
130
|
+
when ::Snow::Vec4, ::Snow::Vec3 then rhs
|
131
131
|
else raise TypeError, "Invalid type for RHS"
|
132
132
|
end
|
133
133
|
end
|
data/lib/snow-math/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snow-math
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noel Raymond Cower
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Math types built on the SnowPalm math code
|
14
14
|
email: ncower@gmail.com
|
@@ -20,6 +20,19 @@ extra_rdoc_files:
|
|
20
20
|
- README.md
|
21
21
|
- COPYING
|
22
22
|
files:
|
23
|
+
- COPYING
|
24
|
+
- README.md
|
25
|
+
- ext/extconf.rb
|
26
|
+
- ext/snow-math/mat3.c
|
27
|
+
- ext/snow-math/mat4.c
|
28
|
+
- ext/snow-math/maths.c
|
29
|
+
- ext/snow-math/maths_local.h
|
30
|
+
- ext/snow-math/quat.c
|
31
|
+
- ext/snow-math/snow-math.c
|
32
|
+
- ext/snow-math/vec2.c
|
33
|
+
- ext/snow-math/vec3.c
|
34
|
+
- ext/snow-math/vec4.c
|
35
|
+
- lib/snow-math.rb
|
23
36
|
- lib/snow-math/inspect.rb
|
24
37
|
- lib/snow-math/marshal.rb
|
25
38
|
- lib/snow-math/mat3.rb
|
@@ -32,48 +45,34 @@ files:
|
|
32
45
|
- lib/snow-math/vec3.rb
|
33
46
|
- lib/snow-math/vec4.rb
|
34
47
|
- lib/snow-math/version.rb
|
35
|
-
- lib/snow-math.rb
|
36
|
-
- ext/snow-math/mat3.c
|
37
|
-
- ext/snow-math/mat4.c
|
38
|
-
- ext/snow-math/maths.c
|
39
|
-
- ext/snow-math/quat.c
|
40
|
-
- ext/snow-math/snow-math.c
|
41
|
-
- ext/snow-math/vec2.c
|
42
|
-
- ext/snow-math/vec3.c
|
43
|
-
- ext/snow-math/vec4.c
|
44
|
-
- ext/snow-math/maths_local.h
|
45
|
-
- ext/extconf.rb
|
46
|
-
- COPYING
|
47
|
-
- README.md
|
48
48
|
homepage: https://github.com/nilium/ruby-snowmath
|
49
49
|
licenses:
|
50
|
-
-
|
50
|
+
- BSD-2-Clause
|
51
51
|
metadata: {}
|
52
52
|
post_install_message:
|
53
53
|
rdoc_options:
|
54
|
-
- --title
|
54
|
+
- "--title"
|
55
55
|
- snowmath -- 3D Math Types
|
56
|
-
- --main
|
56
|
+
- "--main"
|
57
57
|
- README.md
|
58
|
-
- --markup=markdown
|
59
|
-
- --line-numbers
|
58
|
+
- "--markup=markdown"
|
59
|
+
- "--line-numbers"
|
60
60
|
require_paths:
|
61
61
|
- lib
|
62
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.0.0
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version: 2.
|
74
|
+
rubygems_version: 2.6.8
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Snow Math Types
|
78
78
|
test_files: []
|
79
|
-
has_rdoc: true
|