Skip to content

Commit

Permalink
Remove scalar multiplication method in Matrix4f
Browse files Browse the repository at this point in the history
  • Loading branch information
httpdigest committed Jun 6, 2015
1 parent ddabf38 commit d39bc14
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions src/org/joml/Matrix4f.java
Original file line number Diff line number Diff line change
Expand Up @@ -616,38 +616,6 @@ public static void invert(Matrix4f source, Matrix4f dest) {
}
}

/**
* Multiply the supplied <code>source</code> matrix by the supplied
* <code>scalar</code> and store the result in <code>dest</code>.
*
* @see #mul(float)
*
* @param source
* the source matrix
* @param scalar
* the scalar
* @param dest
* willd hold the result
*/
public static void mul(Matrix4f source, float scalar, Matrix4f dest) {
dest.m00 = source.m00 * scalar;
dest.m01 = source.m01 * scalar;
dest.m02 = source.m02 * scalar;
dest.m03 = source.m03 * scalar;
dest.m10 = source.m10 * scalar;
dest.m11 = source.m11 * scalar;
dest.m12 = source.m12 * scalar;
dest.m13 = source.m13 * scalar;
dest.m20 = source.m20 * scalar;
dest.m21 = source.m21 * scalar;
dest.m22 = source.m22 * scalar;
dest.m23 = source.m23 * scalar;
dest.m30 = source.m30 * scalar;
dest.m31 = source.m31 * scalar;
dest.m32 = source.m32 * scalar;
dest.m33 = source.m33 * scalar;
}

/**
* Transpose this matrix and store the result in <code>dest</code>.
*
Expand Down

0 comments on commit d39bc14

Please sign in to comment.