gl-matrix-rails 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module GLMatrix
2
2
  module Version
3
- MAJOR, MINOR, TINY = 0, 1, 4
3
+ MAJOR, MINOR, TINY = 0, 1, 5
4
4
  STRING = [MAJOR, MINOR, TINY].join '.'
5
5
  end
6
6
 
@@ -1028,9 +1028,9 @@ vec3.transformMat4 = function(out, a, m) {
1028
1028
  */
1029
1029
  vec3.transformMat3 = function(out, a, m) {
1030
1030
  var x = a[0], y = a[1], z = a[2];
1031
- out[0] = x * m[0] + y * m[1] + z * m[2];
1032
- out[1] = x * m[3] + y * m[4] + z * m[5];
1033
- out[2] = x * m[6] + y * m[7] + z * m[8];
1031
+ out[0] = x * m[0] + y * m[3] + z * m[6];
1032
+ out[1] = x * m[1] + y * m[4] + z * m[7];
1033
+ out[2] = x * m[2] + y * m[5] + z * m[8];
1034
1034
  return out;
1035
1035
  };
1036
1036
 
@@ -2515,15 +2515,15 @@ mat3.fromQuat = function (out, q) {
2515
2515
  wz = w * z2;
2516
2516
 
2517
2517
  out[0] = 1 - (yy + zz);
2518
- out[1] = xy + wz;
2519
- out[2] = xz - wy;
2518
+ out[3] = xy + wz;
2519
+ out[6] = xz - wy;
2520
2520
 
2521
- out[3] = xy - wz;
2521
+ out[1] = xy - wz;
2522
2522
  out[4] = 1 - (xx + zz);
2523
- out[5] = yz + wx;
2523
+ out[7] = yz + wx;
2524
2524
 
2525
- out[6] = xz + wy;
2526
- out[7] = yz - wx;
2525
+ out[2] = xz + wy;
2526
+ out[5] = yz - wx;
2527
2527
  out[8] = 1 - (xx + yy);
2528
2528
 
2529
2529
  return out;
@@ -4056,4 +4056,4 @@ if(typeof(exports) !== 'undefined') {
4056
4056
 
4057
4057
 
4058
4058
  })(shim.exports);
4059
- })(this);
4059
+ })(this);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gl-matrix-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-10 00:00:00.000000000Z
12
+ date: 2013-03-11 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &74330460 !ruby/object:Gem::Requirement
16
+ requirement: &77670640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *74330460
24
+ version_requirements: *77670640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &74330160 !ruby/object:Gem::Requirement
27
+ requirement: &77670350 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *74330160
35
+ version_requirements: *77670350
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: tzinfo
38
- requirement: &74329850 !ruby/object:Gem::Requirement
38
+ requirement: &77670030 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *74329850
46
+ version_requirements: *77670030
47
47
  description: A gem to automate using gl-matrix with Rails 3
48
48
  email:
49
49
  - sinisterchipmunk@gmail.com