# samskivert/pythagoras

Use a less cracksmoking name.

samskivert committed Jun 16, 2012
1 parent 920b55d commit 5acb7b1551aa5e7e492d1735ca5f5b81b9d0ca6f
 @@ -115,7 +115,7 @@ public double ty () { } @Override // from Transform - public void transform (double[] matrix) { + public void get (double[] matrix) { matrix[0] = m00; matrix[1] = m01; matrix[2] = m10; matrix[3] = m11; matrix[4] = tx; matrix[5] = ty;
 @@ -43,7 +43,7 @@ public double ty () { } @Override // from Transform - public void transform (double[] matrix) { + public void get (double[] matrix) { matrix[0] = 1; matrix[1] = 0; matrix[2] = 0; matrix[3] = 1; matrix[4] = 0; matrix[5] = 0;
 @@ -64,7 +64,7 @@ public double ty () { } @Override // from Transform - public void transform (double[] matrix) { + public void get (double[] matrix) { double sina = Math.sin(rotation), cosa = Math.cos(rotation); matrix[0] = cosa * scaleX; matrix[1] = sina * scaleY; matrix[2] = -sina * scaleX; matrix[3] = cosa * scaleY;
 @@ -59,7 +59,7 @@ public double ty () { } @Override // from Transform - public void transform (double[] matrix) { + public void get (double[] matrix) { double sina = Math.sin(rotation), cosa = Math.cos(rotation); matrix[0] = cosa; matrix[1] = sina; matrix[2] = -sina; matrix[3] = cosa;
 @@ -41,7 +41,7 @@ /** Copies the affine transform matrix into the supplied array. * @param matrix the array which receives {@code m00, m01, m10, m11, tx, ty}. */ - void transform (double[] matrix); + void get (double[] matrix); /** Sets the uniform scale of this transform. * @return this instance, for chaining.
 @@ -64,7 +64,7 @@ public double ty () { } @Override // from Transform - public void transform (double[] matrix) { + public void get (double[] matrix) { double sina = Math.sin(rotation), cosa = Math.cos(rotation); matrix[0] = cosa * scale; matrix[1] = sina * scale; matrix[2] = -sina * scale; matrix[3] = cosa * scale;
 @@ -115,7 +115,7 @@ public float ty () { } @Override // from Transform - public void transform (float[] matrix) { + public void get (float[] matrix) { matrix[0] = m00; matrix[1] = m01; matrix[2] = m10; matrix[3] = m11; matrix[4] = tx; matrix[5] = ty;
 @@ -43,7 +43,7 @@ public float ty () { } @Override // from Transform - public void transform (float[] matrix) { + public void get (float[] matrix) { matrix[0] = 1; matrix[1] = 0; matrix[2] = 0; matrix[3] = 1; matrix[4] = 0; matrix[5] = 0;
 @@ -64,7 +64,7 @@ public float ty () { } @Override // from Transform - public void transform (float[] matrix) { + public void get (float[] matrix) { float sina = FloatMath.sin(rotation), cosa = FloatMath.cos(rotation); matrix[0] = cosa * scaleX; matrix[1] = sina * scaleY; matrix[2] = -sina * scaleX; matrix[3] = cosa * scaleY;
 @@ -59,7 +59,7 @@ public float ty () { } @Override // from Transform - public void transform (float[] matrix) { + public void get (float[] matrix) { float sina = FloatMath.sin(rotation), cosa = FloatMath.cos(rotation); matrix[0] = cosa; matrix[1] = sina; matrix[2] = -sina; matrix[3] = cosa;
 @@ -41,7 +41,7 @@ /** Copies the affine transform matrix into the supplied array. * @param matrix the array which receives {@code m00, m01, m10, m11, tx, ty}. */ - void transform (float[] matrix); + void get (float[] matrix); /** Sets the uniform scale of this transform. * @return this instance, for chaining.
 @@ -64,7 +64,7 @@ public float ty () { } @Override // from Transform - public void transform (float[] matrix) { + public void get (float[] matrix) { float sina = FloatMath.sin(rotation), cosa = FloatMath.cos(rotation); matrix[0] = cosa * scale; matrix[1] = sina * scale; matrix[2] = -sina * scale; matrix[3] = cosa * scale;