snow-math 1.2.3 → 1.2.4
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/lib/snow-math/quat.rb +2 -2
- data/lib/snow-math/vec3.rb +1 -1
- data/lib/snow-math/vec4.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63148f99dc86916bca148aec7ab5c6d65f239b5e
|
4
|
+
data.tar.gz: aecbe9ad0a805b85717da26811f8d5aa7c1d45e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4540efd80dbc5ddf50d0a3b1399d9c9f1c25f3edd165983128531ede3da749b5bc94c89b7ec0f1b2427ae7671f4026af8bdac5fcf23d11fee2fe59c1e3300941
|
7
|
+
data.tar.gz: e981d3976e87fd1bbc33f025ddee756c30b5e07ef5e590eb83b2ac6b8e2c5794cf0ea16d391e4ca5ab01888d98ef147203c8b816e0bc37eb12ebd46760e65617
|
data/lib/snow-math/quat.rb
CHANGED
@@ -76,8 +76,8 @@ class Snow::Quat
|
|
76
76
|
|
77
77
|
def multiply(rhs, output = nil)
|
78
78
|
case rhs
|
79
|
-
when Quat then multiply_quat(rhs, output)
|
80
|
-
when Vec3 then multiply_vec3(rhs, output)
|
79
|
+
when ::Snow::Quat then multiply_quat(rhs, output)
|
80
|
+
when ::Snow::Vec3 then multiply_vec3(rhs, output)
|
81
81
|
when Numeric then scale(rhs, output)
|
82
82
|
else raise TypeError, "Invalid type for RHS"
|
83
83
|
end
|
data/lib/snow-math/vec3.rb
CHANGED
data/lib/snow-math/vec4.rb
CHANGED