Whitespace & doc cleanup.
Tabs -> spaces, one space between sentences, capitalization fix, etc.
This commit is contained in:
@@ -250,7 +250,7 @@ public class Box implements IBox, Serializable
|
|||||||
// */
|
// */
|
||||||
// public Box transform (Transform3D transform, Box result) {
|
// public Box transform (Transform3D transform, Box result) {
|
||||||
// // the corners of the box cover the eight permutations of ([minX|maxX], [minY|maxY],
|
// // the corners of the box cover the eight permutations of ([minX|maxX], [minY|maxY],
|
||||||
// // [minZ|maxZ]). to find the new minimum and maximum for each element, we transform
|
// // [minZ|maxZ]). To find the new minimum and maximum for each element, we transform
|
||||||
// // selecting either the minimum or maximum for each component based on whether it will
|
// // selecting either the minimum or maximum for each component based on whether it will
|
||||||
// // increase or decrease the total (which depends on the sign of the matrix element).
|
// // increase or decrease the total (which depends on the sign of the matrix element).
|
||||||
// transform.update(Transform3D.AFFINE);
|
// transform.update(Transform3D.AFFINE);
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ public interface IMatrix4
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Linearly interpolates between this and the specified other matrix (treating the matrices as
|
* Linearly interpolates between this and the specified other matrix (treating the matrices as
|
||||||
* affine);, placing the result in the object provided.
|
* affine), placing the result in the object provided.
|
||||||
*
|
*
|
||||||
* @return a reference to the result object, for chaining.
|
* @return a reference to the result object, for chaining.
|
||||||
*/
|
*/
|
||||||
@@ -282,7 +282,7 @@ public interface IMatrix4
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an approximation of the uniform scale for this matrix (the cube root of the
|
* Returns an approximation of the uniform scale for this matrix (the cube root of the
|
||||||
* signed volume of the parallelepiped spanned by the axis vectors);.
|
* signed volume of the parallelepiped spanned by the axis vectors).
|
||||||
*/
|
*/
|
||||||
double approximateUniformScale ();
|
double approximateUniformScale ();
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class Rectangle extends AbstractRectangle implements Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a rectangle with upper-left corner at (0,) and the supplied dimensions.
|
* Constructs a rectangle with upper-left corner at (0,0) and the supplied dimensions.
|
||||||
*/
|
*/
|
||||||
public Rectangle (IDimension d) {
|
public Rectangle (IDimension d) {
|
||||||
setBounds(0, 0, d.width(), d.height());
|
setBounds(0, 0, d.width(), d.height());
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ public class Box implements IBox, Serializable
|
|||||||
// */
|
// */
|
||||||
// public Box transform (Transform3D transform, Box result) {
|
// public Box transform (Transform3D transform, Box result) {
|
||||||
// // the corners of the box cover the eight permutations of ([minX|maxX], [minY|maxY],
|
// // the corners of the box cover the eight permutations of ([minX|maxX], [minY|maxY],
|
||||||
// // [minZ|maxZ]). to find the new minimum and maximum for each element, we transform
|
// // [minZ|maxZ]). To find the new minimum and maximum for each element, we transform
|
||||||
// // selecting either the minimum or maximum for each component based on whether it will
|
// // selecting either the minimum or maximum for each component based on whether it will
|
||||||
// // increase or decrease the total (which depends on the sign of the matrix element).
|
// // increase or decrease the total (which depends on the sign of the matrix element).
|
||||||
// transform.update(Transform3D.AFFINE);
|
// transform.update(Transform3D.AFFINE);
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ public interface IMatrix4
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Linearly interpolates between this and the specified other matrix (treating the matrices as
|
* Linearly interpolates between this and the specified other matrix (treating the matrices as
|
||||||
* affine);, placing the result in the object provided.
|
* affine), placing the result in the object provided.
|
||||||
*
|
*
|
||||||
* @return a reference to the result object, for chaining.
|
* @return a reference to the result object, for chaining.
|
||||||
*/
|
*/
|
||||||
@@ -282,7 +282,7 @@ public interface IMatrix4
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an approximation of the uniform scale for this matrix (the cube root of the
|
* Returns an approximation of the uniform scale for this matrix (the cube root of the
|
||||||
* signed volume of the parallelepiped spanned by the axis vectors);.
|
* signed volume of the parallelepiped spanned by the axis vectors).
|
||||||
*/
|
*/
|
||||||
float approximateUniformScale ();
|
float approximateUniformScale ();
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class Rectangle extends AbstractRectangle implements Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a rectangle with upper-left corner at (0,) and the supplied dimensions.
|
* Constructs a rectangle with upper-left corner at (0,0) and the supplied dimensions.
|
||||||
*/
|
*/
|
||||||
public Rectangle (IDimension d) {
|
public Rectangle (IDimension d) {
|
||||||
setBounds(0, 0, d.width(), d.height());
|
setBounds(0, 0, d.width(), d.height());
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class Rectangle extends AbstractRectangle implements Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a rectangle with upper-left corner at (0,) and the supplied dimensions.
|
* Constructs a rectangle with upper-left corner at (0,0) and the supplied dimensions.
|
||||||
*/
|
*/
|
||||||
public Rectangle (IDimension d) {
|
public Rectangle (IDimension d) {
|
||||||
setBounds(0, 0, d.width(), d.height());
|
setBounds(0, 0, d.width(), d.height());
|
||||||
|
|||||||
Reference in New Issue
Block a user