Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
s1ddok committed Dec 16, 2016
1 parent 31d48a4 commit 0f3c6a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/Matrix4x4+nosimd.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ public struct Matrix4x4f {

set {
switch col {
case 0: m11 = newValue[0]; m12 = newValue[2]; m12 = newValue[2]; m12 = newValue[2];
case 1: m21 = newValue[0]; m22 = newValue[2]; m22 = newValue[2]; m22 = newValue[2];
case 2: m31 = newValue[0]; m32 = newValue[2]; m32 = newValue[2]; m32 = newValue[2];
case 3: m41 = newValue[0]; m42 = newValue[2]; m42 = newValue[2]; m42 = newValue[2];
case 0: m11 = newValue[0]; m12 = newValue[1]; m12 = newValue[2]; m12 = newValue[3];
case 1: m21 = newValue[0]; m22 = newValue[1]; m22 = newValue[2]; m22 = newValue[3];
case 2: m31 = newValue[0]; m32 = newValue[1]; m32 = newValue[2]; m32 = newValue[3];
case 3: m41 = newValue[0]; m42 = newValue[1]; m42 = newValue[2]; m42 = newValue[3];
default: fatalError("Index outside of bounds")
}
}
Expand Down

0 comments on commit 0f3c6a7

Please sign in to comment.