OSDN Git Service

[non-technical] documentation fixes for com.jmex.model.collada and com.jmex.model...
authorskye.book <skye.book@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Mon, 31 Aug 2009 00:16:36 +0000 (00:16 +0000)
committerskye.book <skye.book@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Mon, 31 Aug 2009 00:16:36 +0000 (00:16 +0000)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@4643 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

src/com/jmex/model/collada/ColladaImporter.java
src/com/jmex/model/converters/AseToJme.java
src/com/jmex/model/converters/FormatConverter.java
src/com/jmex/model/converters/Md2ToJme.java
src/com/jmex/model/converters/MilkToJme.java

index a62ec7d..76a6630 100644 (file)
@@ -167,7 +167,7 @@ import com.jmex.model.collada.schema.visual_sceneType;
  * (COLLAborative Design Activity) model. Making use of a DOM parse, the XML
  * formatted COLLADA file is parsed into Java Type classes and then processed by
  * jME. This processing is currently aimed at the 1.4.1 release of the COLLADA
- * Specification, and will, in most likelyhood, require updating with a new
+ * Specification, and will, in most likelihood, require updating with a new
  * release of COLLADA.
  * 
  * @author Mark Powell, Rikard Herlitz, and others
@@ -247,8 +247,8 @@ public class ColladaImporter {
 
     /**
      * load takes the model path as a string object and uses the
-     * COLLADASchemaDoc object to load it. This is then stored as a heirarchy of
-     * data objects. This heirarchy is passed to the processCollada method to
+     * COLLADASchemaDoc object to load it. This is then stored as a hierarchy of
+     * data objects. This hierarchy is passed to the processCollada method to
      * build the jME data structures necessary to view the model.
      * 
      * @param source
@@ -3333,9 +3333,9 @@ public class ColladaImporter {
      *            the meshType to process for the trimesh.
      * @param geom
      *            the geometryType of the TriMesh to build.
-     * @return the jME tri mesh representing the COLLADA mesh.
+     * @return the jME trimesh representing the COLLADA mesh.
      * @throws Exception
-     *             thrown if there is a problem processing the xml.
+     *             thrown if there is a problem processing the XML.
      */
     private Spatial processPolygonMesh(meshType mesh, geometryType geom)
             throws Exception {
@@ -3781,7 +3781,7 @@ public class ColladaImporter {
      *            the meshType to process for the lines.
      * @param geom
      *            the geomType for the lines
-     * @return the jME tri mesh representing the COLLADA mesh.
+     * @return the jME trimesh representing the COLLADA mesh.
      */
     private Spatial processLines(meshType mesh, geometryType geom) {
         if (!squelch) {
@@ -3815,7 +3815,7 @@ public class ColladaImporter {
      * @param libScene
      *            the library of scenes
      * @throws Exception
-     *             thrown if there is a problem processing the xml.
+     *             thrown if there is a problem processing the XML.
      */
     private void processVisualSceneLibrary(library_visual_scenesType libScene)
             throws Exception {
index eeb7294..cbb8019 100644 (file)
@@ -450,7 +450,7 @@ public class AseToJme extends FormatConverter{
                     return;
                 }
 
-                //read material properites.
+                //read material properties.
                 if (strWord.equals(MATERIAL_AMBIENT)) {
                     material.ambient[0] = Float.parseFloat(tokenizer.nextToken());
                     material.ambient[1] = Float.parseFloat(tokenizer.nextToken());
@@ -615,7 +615,7 @@ public class AseToJme extends FormatConverter{
                                 currentObject.materialID));
                     }
                 }
-                // If we hit a vertice index to a face
+                // If we hit a vertex index to a face
                 else if (word.equals(FACE)) {
                     // Make sure that is the data that we want to read in
                     if (desiredData.equals(FACE)) {
@@ -627,7 +627,7 @@ public class AseToJme extends FormatConverter{
                 else if (word.equals(TFACE)) {
                     // Make sure that is the data that we want to read in
                     if (desiredData.equals(TFACE)) {
-                        // Read in a texture indice for a face
+                        // Read in a texture index for a face
                         readTextureFace(currentObject);
                     }
                 }
index afcfb88..ece7aea 100644 (file)
@@ -60,7 +60,7 @@ abstract public class FormatConverter {
      * Reads a given <code>format</code> and writes it to <code>jMEFormat</code> in the jME binary format.
      * @param format InputStream representing the format to read
      * @param jMEFormat OutputStream to write the jME binary equivalent too
-     * @throws IOException If anything goes wrong during the writting
+     * @throws IOException If anything goes wrong during the writing
      */
     public abstract void convert(InputStream format,OutputStream jMEFormat) throws IOException;
 
index ae9de86..67f7354 100644 (file)
@@ -100,7 +100,7 @@ public class Md2ToJme extends FormatConverter {
     }
 
     /**
-     * 95% a Copy/paste of the .md2 loader by Mark Powell modifyed for
+     * 95% a Copy/paste of the .md2 loader by Mark Powell modified for
      * efficiency (use of empty TriMesh) and VertexController as well as a few
      * tiny adjustments here and there on memory.
      * 
index c85f4d8..ddcb59e 100644 (file)
@@ -100,7 +100,7 @@ public class MilkToJme extends FormatConverter{
 
 
     /**
-     * The node that represents the .ms3d file.  It's chidren are MS meshes
+     * The node that represents the .ms3d file.  It's Children are MS meshes
      */
     private Node finalNode;