Merge pull request #664 from iamcreasy/MeshPointDocFix

Mesh point doc fix
fix-456
Rémy Bouquet 8 years ago committed by GitHub
commit 530596838c
  1. 1
      jme3-core/src/main/java/com/jme3/scene/Geometry.java
  2. 7
      jme3-core/src/main/java/com/jme3/scene/Mesh.java

@ -506,6 +506,7 @@ public class Geometry extends Spatial {
/**
* The old clone() method that did not use the new Cloner utility.
*/
@Override
public Geometry oldClone(boolean cloneMaterial) {
Geometry geomClone = (Geometry) super.clone(cloneMaterial);

@ -63,8 +63,7 @@ import java.util.ArrayList;
* All visible elements in a scene are represented by meshes.
* Meshes may contain three types of geometric primitives:
* <ul>
* <li>Points - Every vertex represents a single point in space,
* the size of each point is specified via {@link Mesh#setPointSize(float) }.
* <li>Points - Every vertex represents a single point in space.
* Points can also be used for {@link RenderState#setPointSprite(boolean) point
* sprite} mode.</li>
* <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 {
/**
* A primitive is a single point in space. The size of the points
* can be specified with {@link Mesh#setPointSize(float) }.
* A primitive is a single point in space. The size of {@link Mode#Points points} are
* determined via the vertex shader's <code>gl_PointSize</code> output.
*/
Points(true),

Loading…
Cancel
Save