From 6d920c1211279f2bc541f9a93c69649d65124e3e Mon Sep 17 00:00:00 2001 From: David Hoover Date: Thu, 10 May 2012 21:45:03 -0700 Subject: [PATCH] Don't describe a particular implementation's details in the interface declaration. --- src/main/java/pythagoras/d/IMatrix3.java | 9 ++------- src/main/java/pythagoras/d/IMatrix4.java | 8 ++------ src/main/java/pythagoras/f/IMatrix3.java | 9 ++------- src/main/java/pythagoras/f/IMatrix4.java | 8 ++------ 4 files changed, 8 insertions(+), 26 deletions(-) diff --git a/src/main/java/pythagoras/d/IMatrix3.java b/src/main/java/pythagoras/d/IMatrix3.java index 403cc34..12b9e8f 100644 --- a/src/main/java/pythagoras/d/IMatrix3.java +++ b/src/main/java/pythagoras/d/IMatrix3.java @@ -96,9 +96,7 @@ interface IMatrix3 Matrix3 invert (); /** - * Inverts this matrix and places the result in the given object. This code is based on the - * examples in the Matrix and - * Quaternion FAQ. + * Inverts this matrix and places the result in the given object. * * @return a reference to the result matrix, for chaining. */ @@ -221,10 +219,7 @@ interface IMatrix3 Vector transformVector (IVector vector, Vector result); /** - * Extracts the rotation component of the matrix. This uses the iterative polar decomposition - * algorithm described by - * Ken - * Shoemake. + * Extracts the rotation component of the matrix. */ double extractRotation (); diff --git a/src/main/java/pythagoras/d/IMatrix4.java b/src/main/java/pythagoras/d/IMatrix4.java index 5b704c4..e284858 100644 --- a/src/main/java/pythagoras/d/IMatrix4.java +++ b/src/main/java/pythagoras/d/IMatrix4.java @@ -120,9 +120,7 @@ public interface IMatrix4 Matrix4 invert (); /** - * Inverts this matrix and places the result in the given object. This code is based on the - * examples in the Matrix and - * Quaternion FAQ. + * Inverts this matrix and places the result in the given object. * * @return a reference to the result matrix, for chaining. */ @@ -258,9 +256,7 @@ public interface IMatrix4 /** * Extracts the rotation component of the matrix and places it in the provided result - * quaternion. This uses the iterative polar decomposition algorithm described by - * Ken - * Shoemake. + * quaternion. * * @return a reference to the result quaternion, for chaining. */ diff --git a/src/main/java/pythagoras/f/IMatrix3.java b/src/main/java/pythagoras/f/IMatrix3.java index 2ce605d..be86596 100644 --- a/src/main/java/pythagoras/f/IMatrix3.java +++ b/src/main/java/pythagoras/f/IMatrix3.java @@ -96,9 +96,7 @@ interface IMatrix3 Matrix3 invert (); /** - * Inverts this matrix and places the result in the given object. This code is based on the - * examples in the Matrix and - * Quaternion FAQ. + * Inverts this matrix and places the result in the given object. * * @return a reference to the result matrix, for chaining. */ @@ -221,10 +219,7 @@ interface IMatrix3 Vector transformVector (IVector vector, Vector result); /** - * Extracts the rotation component of the matrix. This uses the iterative polar decomposition - * algorithm described by - * Ken - * Shoemake. + * Extracts the rotation component of the matrix. */ float extractRotation (); diff --git a/src/main/java/pythagoras/f/IMatrix4.java b/src/main/java/pythagoras/f/IMatrix4.java index bc092f0..4373509 100644 --- a/src/main/java/pythagoras/f/IMatrix4.java +++ b/src/main/java/pythagoras/f/IMatrix4.java @@ -120,9 +120,7 @@ public interface IMatrix4 Matrix4 invert (); /** - * Inverts this matrix and places the result in the given object. This code is based on the - * examples in the Matrix and - * Quaternion FAQ. + * Inverts this matrix and places the result in the given object. * * @return a reference to the result matrix, for chaining. */ @@ -258,9 +256,7 @@ public interface IMatrix4 /** * Extracts the rotation component of the matrix and places it in the provided result - * quaternion. This uses the iterative polar decomposition algorithm described by - * Ken - * Shoemake. + * quaternion. * * @return a reference to the result quaternion, for chaining. */