Skip to content

Commit bc973a5

Browse files
ITGame-designer337stephengold
authored andcommitted
LodGenerator.java: improve the javadoc (#1540)
1 parent 2788165 commit bc973a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@
7070
import java.util.logging.Logger;
7171

7272
/**
73-
* This is an utility class that allows to generated the lod levels for an
74-
* arbitrary mesh. It computes a collapse cost for each vertex and each edges.
75-
* The higher the cost the most likely collapsing the edge or the vertex will
73+
* This is a utility class that adds the ability to generate the lod levels
74+
* for an arbitrary mesh. It computes a collapse cost for each vertex and each edge.
75+
* The higher the cost the more likely collapsing the edge or the vertex will
7676
* produce artifacts on the mesh. <p>This class is the java implementation of
7777
* the enhanced version of Ogre engine Lod generator, by Péter Szücs, originally
7878
* based on Stan Melax "easy mesh simplification". The MIT licenced C++ source
@@ -81,8 +81,8 @@
8181
* informations can be found here http://www.melax.com/polychop
8282
* http://sajty.elementfx.com/progressivemesh/GSoC2012.pdf </p>
8383
*
84-
* <p>The algorithm sort vertices according to their collapse cost
85-
* ascending. It collapse from the "cheapest" vertex to the more expensive.<br>
84+
* <p>The algorithm sorts vertices according to their collapse cost in
85+
* ascending order. It collapses from the "cheapest" vertex to the more expensive.<br>
8686
* <strong>Usage : </strong><br>
8787
* <pre>
8888
* LodGenerator lODGenerator = new LodGenerator(geometry);

0 commit comments

Comments
 (0)