typos in Spatial.java comments as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-spatial-java-comments/
This commit is contained in:
parent
5f48fa34bd
commit
5b8dfbc27c
@ -345,7 +345,7 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
* <code>getWorldTranslation</code> retrieves the absolute translation of
|
* <code>getWorldTranslation</code> retrieves the absolute translation of
|
||||||
* the spatial.
|
* the spatial.
|
||||||
*
|
*
|
||||||
* @return the Spatial's world tranlsation vector.
|
* @return the Spatial's world translation vector.
|
||||||
*/
|
*/
|
||||||
public Vector3f getWorldTranslation() {
|
public Vector3f getWorldTranslation() {
|
||||||
checkDoTransformUpdate();
|
checkDoTransformUpdate();
|
||||||
@ -620,8 +620,8 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
* Removes the given control from this spatial's controls.
|
* Removes the given control from this spatial's controls.
|
||||||
*
|
*
|
||||||
* @param control The control to remove
|
* @param control The control to remove
|
||||||
* @return True if the control was successfuly removed. False if
|
* @return True if the control was successfully removed. False if the
|
||||||
* the control is not assigned to this spatial.
|
* control is not assigned to this spatial.
|
||||||
*
|
*
|
||||||
* @see Spatial#addControl(com.jme3.scene.control.Control)
|
* @see Spatial#addControl(com.jme3.scene.control.Control)
|
||||||
*/
|
*/
|
||||||
@ -720,7 +720,7 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert a vector (in) from this spatials' local coordinate space to world
|
* Convert a vector (in) from this spatial's local coordinate space to world
|
||||||
* coordinate space.
|
* coordinate space.
|
||||||
*
|
*
|
||||||
* @param in
|
* @param in
|
||||||
@ -736,7 +736,7 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert a vector (in) from world coordinate space to this spatials' local
|
* Convert a vector (in) from world coordinate space to this spatial's local
|
||||||
* coordinate space.
|
* coordinate space.
|
||||||
*
|
*
|
||||||
* @param in
|
* @param in
|
||||||
@ -935,7 +935,8 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>addLight</code> adds the given light to the Spatial; causing
|
* <code>addLight</code> adds the given light to the Spatial; causing
|
||||||
* all child Spatials to be effected by it.
|
all
|
||||||
|
* child Spatials to be affected by it.
|
||||||
*
|
*
|
||||||
* @param light The light to add.
|
* @param light The light to add.
|
||||||
*/
|
*/
|
||||||
@ -1044,8 +1045,8 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @see #setCullHint(CullHint)
|
* @see #setCullHint(CullHint)
|
||||||
* @return the cull mode of this spatial, or if set to CullHint.Inherit,
|
* @return the cull mode of this spatial, or if set to CullHint.Inherit, the
|
||||||
* the cullmode of it's parent.
|
* cull mode of its parent.
|
||||||
*/
|
*/
|
||||||
public CullHint getCullHint() {
|
public CullHint getCullHint() {
|
||||||
if (cullHint != CullHint.Inherit) {
|
if (cullHint != CullHint.Inherit) {
|
||||||
@ -1124,7 +1125,7 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
public abstract void setModelBound(BoundingVolume modelBound);
|
public abstract void setModelBound(BoundingVolume modelBound);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return The sum of all verticies under this Spatial.
|
* @return The sum of all vertices under this Spatial.
|
||||||
*/
|
*/
|
||||||
public abstract int getVertexCount();
|
public abstract int getVertexCount();
|
||||||
|
|
||||||
@ -1215,9 +1216,9 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Similar to Spatial.clone() except will create a deep clone
|
* @return Similar to Spatial.clone() except will create a deep clone of all
|
||||||
* of all geometry's meshes, normally this method shouldn't be used
|
* geometries' meshes. Normally this method shouldn't be used. Instead, use
|
||||||
* instead use Spatial.clone()
|
* Spatial.clone()
|
||||||
*
|
*
|
||||||
* @see Spatial#clone()
|
* @see Spatial#clone()
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user