Merge pull request #664 from iamcreasy/MeshPointDocFix
Mesh point doc fix
This commit is contained in:
commit
530596838c
@ -506,6 +506,7 @@ public class Geometry extends Spatial {
|
|||||||
/**
|
/**
|
||||||
* The old clone() method that did not use the new Cloner utility.
|
* The old clone() method that did not use the new Cloner utility.
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public Geometry oldClone(boolean cloneMaterial) {
|
public Geometry oldClone(boolean cloneMaterial) {
|
||||||
Geometry geomClone = (Geometry) super.clone(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.
|
* 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 each point is specified via {@link Mesh#setPointSize(float) }.
|
|
||||||
* 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…
x
Reference in New Issue
Block a user