diff options
Diffstat (limited to 'ardor3d-core')
8 files changed, 16 insertions, 16 deletions
diff --git a/ardor3d-core/src/main/java/com/ardor3d/intersection/TriangleTriangleIntersect.java b/ardor3d-core/src/main/java/com/ardor3d/intersection/TriangleTriangleIntersect.java index c718914..972c3fb 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/intersection/TriangleTriangleIntersect.java +++ b/ardor3d-core/src/main/java/com/ardor3d/intersection/TriangleTriangleIntersect.java @@ -21,7 +21,7 @@ public class TriangleTriangleIntersect { public static final double EPSILON = 1e-12; /** - * This method tests for the intersection between two triangles defined by their vertexes. Converted to java from C + * This method tests for the intersection between two triangles defined by their vertices. Converted to java from C * code found at http://jgt.akpeters.com/papers/Moller97/ * * @param v0 diff --git a/ardor3d-core/src/main/java/com/ardor3d/renderer/state/CullState.java b/ardor3d-core/src/main/java/com/ardor3d/renderer/state/CullState.java index d0147fb..62d47fc 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/renderer/state/CullState.java +++ b/ardor3d-core/src/main/java/com/ardor3d/renderer/state/CullState.java @@ -20,8 +20,8 @@ import com.ardor3d.util.export.OutputCapsule; /** * <code>CullState</code> determines which side of a model will be visible when it is rendered. By default, both sides - * are visible. Define front as the side that traces its vertexes counter clockwise and back as the side that traces its - * vertexes clockwise, a side (front or back) can be culled, or not shown when the model is rendered. Instead, the side + * are visible. Define front as the side that traces its vertices counter clockwise and back as the side that traces its + * vertices clockwise, a side (front or back) can be culled, or not shown when the model is rendered. Instead, the side * will be transparent. <br> * <b>NOTE:</b> Any object that is placed in the transparent queue with two sided transparency will not use the * cullstate that is attached to it. Instead, using the CullStates necessary for rendering two sided transparency. diff --git a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Line.java b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Line.java index b1cfaae..164f769 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Line.java +++ b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Line.java @@ -51,7 +51,7 @@ public class Line extends Mesh { * the vertex list. If vertices are null an exception will be thrown. * * @param name - * the name of the scene element. This is required for identification and comparision purposes. + * the name of the scene element. This is required for identification and comparison purposes. * @param vertex * the vertices that make up the lines. * @param normal @@ -73,7 +73,7 @@ public class Line extends Mesh { * the vertex list. If vertices are null an exception will be thrown. * * @param name - * the name of the scene element. This is required for identification and comparision purposes. + * the name of the scene element. This is required for identification and comparison purposes. * @param vertex * the vertices that make up the lines. * @param normal diff --git a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/MeshData.java b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/MeshData.java index dee9337..3c02967 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/MeshData.java +++ b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/MeshData.java @@ -431,10 +431,10 @@ public class MeshData implements Savable { } /** - * Sets the interleaved buffer. + * Sets the interleaved data. * - * @param interleavedBuffer - * the interleaved buffer + * @param interleavedData + * the interleaved data */ public void setInterleavedData(final FloatBufferData interleavedData) { _interleaved = interleavedData; diff --git a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Point.java b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Point.java index 70d04ef..c23330d 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Point.java +++ b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/Point.java @@ -62,7 +62,7 @@ public class Point extends Mesh { * the vertex array. If this is null an exception is thrown. * * @param name - * the name of the scene element. This is required for identification and comparision purposes. + * the name of the scene element. This is required for identification and comparison purposes. * @param vertex * the vertices or points. * @param normal @@ -85,7 +85,7 @@ public class Point extends Mesh { * the vertex array. If this is null an exception is thrown. * * @param name - * the name of the scene element. This is required for identification and comparision purposes. + * the name of the scene element. This is required for identification and comparison purposes. * @param vertex * the vertices or points. * @param normal diff --git a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/extension/CameraNode.java b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/extension/CameraNode.java index 76e1628..fb965b8 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/extension/CameraNode.java +++ b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/extension/CameraNode.java @@ -36,7 +36,7 @@ public class CameraNode extends Node { * Constructor instantiates a new <code>CameraNode</code> object setting the camera to use for the frame reference. * * @param name - * the name of the scene element. This is required for identification and comparision purposes. + * the name of the scene element. This is required for identification and comparison purposes. * @param camera * the camera this node controls. */ diff --git a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/Hexagon.java b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/Hexagon.java index f6592ef..5aaecc3 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/Hexagon.java +++ b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/Hexagon.java @@ -36,7 +36,7 @@ public class Hexagon extends Mesh { * user must move and rotate for positioning. * * @param name - * the name of the scene element. This is required for identification and comparision purposes. + * the name of the scene element. This is required for identification and comparison purposes. * @param sideLength * The length of all the sides of the triangles */ @@ -58,9 +58,9 @@ public class Hexagon extends Mesh { } /** - * Vertexes are set up like this: 0__1 / \ / \ 5/__\6/__\2 \ / \ / \ /___\ / 4 3 All lines on this diagram are + * Vertices are set up like this: 0__1 / \ / \ 5/__\6/__\2 \ / \ / \ /___\ / 4 3 All lines on this diagram are * sideLength long. Therefore, the width of the hexagon is sideLength * 2, and the height is 2 * the height of one - * equalateral triangle with all side = sideLength which is .866 + * equilateral triangle with all side = sideLength which is .866 */ private void setVertexData() { _meshData.getVertexBuffer().put(-(_sideLength / 2)).put(_sideLength * 0.866f).put(0.0f); diff --git a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/StripBox.java b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/StripBox.java index 3515494..72bc15a 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/StripBox.java +++ b/ardor3d-core/src/main/java/com/ardor3d/scenegraph/shape/StripBox.java @@ -36,11 +36,11 @@ public class StripBox extends Mesh { } /** - * Constructor instantiates a new <code>StripBox</code> object. Center and vertice information must be supplied + * Constructor instantiates a new <code>StripBox</code> object. Center and vertex information must be supplied * later. * * @param name - * the name of the scene element. This is required for identification and comparision purposes. + * the name of the scene element. This is required for identification and comparison purposes. */ public StripBox(final String name) { super(name); |