Cleanup Mesh(Point) documentation

fix-456
Quazi Irfan GD 8 years ago
parent 1bfabd8d8f
commit cf07e094af
  1. 7
      jme3-core/src/main/java/com/jme3/scene/Mesh.java

@ -63,8 +63,7 @@ import java.util.ArrayList;
* All visible elements in a scene are represented by meshes. * All visible elements in a scene are represented by meshes.
* Meshes may contain three types of geometric primitives: * Meshes may contain three types of geometric primitives:
* <ul> * <ul>
* <li>Points - Every vertex represents a single point in space, * <li>Points - Every vertex represents a single point in space.
* the size of {@link Mode#Points points} is determined via the vertex shader's <code>gl_PointSize</code> output.
* Points can also be used for {@link RenderState#setPointSprite(boolean) point * Points can also be used for {@link RenderState#setPointSprite(boolean) point
* sprite} mode.</li> * sprite} mode.</li>
* <li>Lines - 2 vertices represent a line segment, with the width specified * <li>Lines - 2 vertices represent a line segment, with the width specified
@ -82,8 +81,8 @@ public class Mesh implements Savable, Cloneable, JmeCloneable {
*/ */
public enum Mode { public enum Mode {
/** /**
* A primitive is a single point in space. The size of the points * A primitive is a single point in space. The size of {@link Mode#Points points} are
* can be specified with {@link Mesh#setPointSize(float) }. * determined via the vertex shader's <code>gl_PointSize</code> output.
*/ */
Points(true), Points(true),

Loading…
Cancel
Save