Ver código fonte

jme3-examples: comments ("jme3-testdata")

Stephen Gold 4 anos atrás
pai
commit
11071056cc

+ 2 - 2
jme3-examples/src/main/java/jme3test/batching/TestBatchNode.java

@@ -79,7 +79,7 @@ public class TestBatchNode extends SimpleApplication {
 
         /*
          * A cube with a color "bleeding" through transparent texture. Uses
-         * Texture from jme3-test-data library!
+         * Texture from jme3-testdata library!
          */
         Box boxshape4 = new Box(1f, 1f, 1f);
         Geometry cube = new Geometry("cube1", boxshape4);
@@ -90,7 +90,7 @@ public class TestBatchNode extends SimpleApplication {
         //mat.setBoolean("UseMaterialColors", true);
         /*
          * A cube with a color "bleeding" through transparent texture. Uses
-         * Texture from jme3-test-data library!
+         * Texture from jme3-testdata library!
          */
         Box box = new Box(1f, 1f, 1f);
         cube2 = new Geometry("cube2", box);

+ 1 - 1
jme3-examples/src/main/java/jme3test/collision/TestMousePick.java

@@ -139,7 +139,7 @@ public class TestMousePick extends SimpleApplication {
     }
 
     private Spatial makeCharacter() {
-        // load a character from jme3test-test-data
+        // load a character from jme3-testdata
         Spatial golem = assetManager.loadModel("Models/Oto/Oto.mesh.xml");
         golem.scale(0.5f);
         golem.setLocalTranslation(-1.0f, -1.5f, -0.6f);

+ 1 - 1
jme3-examples/src/main/java/jme3test/collision/TestTriangleCollision.java

@@ -69,7 +69,7 @@ public class TestTriangleCollision extends SimpleApplication {
         geom1.setMaterial(m1);
         rootNode.attachChild(geom1);
 
-        // load a character from jme3test-test-data
+        // load a character from jme3-testdata
         golem = assetManager.loadModel("Models/Oto/Oto.mesh.xml");
         golem.scale(0.5f);
         golem.setLocalTranslation(-1.0f, -1.5f, -0.6f);

+ 4 - 4
jme3-examples/src/main/java/jme3test/helloworld/HelloAssets.java

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -53,13 +53,13 @@ public class HelloAssets extends SimpleApplication {
     @Override
     public void simpleInitApp() {
 
-        /** Load a teapot model (OBJ file from test-data) */
+        /* Load a teapot model (OBJ file from jme3-testdata) */
         Spatial teapot = assetManager.loadModel("Models/Teapot/Teapot.obj");
         Material mat_default = new Material( assetManager, "Common/MatDefs/Misc/ShowNormals.j3md");
         teapot.setMaterial(mat_default);
         rootNode.attachChild(teapot);
 
-        /** Create a wall (Box with material and texture from test-data) */
+        /* Create a wall (Box with material and texture from jme3-testdata) */
         Box box = new Box(2.5f, 2.5f, 1.0f);
         Spatial wall = new Geometry("Box", box );
         Material mat_brick = new Material( assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
@@ -68,7 +68,7 @@ public class HelloAssets extends SimpleApplication {
         wall.setLocalTranslation(2.0f,-2.5f,0.0f);
         rootNode.attachChild(wall);
 
-        /** Display a line of text (default font from test-data) */
+        /* Display a line of text (default font from jme3-testdata) */
         setDisplayStatView(false);
         guiFont = assetManager.loadFont("Interface/Fonts/Default.fnt");
         BitmapText helloText = new BitmapText(guiFont, false);

+ 1 - 1
jme3-examples/src/main/java/jme3test/helloworld/HelloPicking.java

@@ -168,7 +168,7 @@ public class HelloPicking extends SimpleApplication {
   }
 
   private Spatial makeCharacter() {
-    // load a character from jme3test-test-data
+    // load a character from jme3-testdata
     Spatial golem = assetManager.loadModel("Models/Oto/Oto.mesh.xml");
     golem.scale(0.5f);
     golem.setLocalTranslation(-1.0f, -1.5f, -0.6f);

+ 2 - 2
jme3-examples/src/main/java/jme3test/light/TestConeVSFrustum.java

@@ -215,8 +215,8 @@ public class TestConeVSFrustum extends SimpleApplication {
             }
         }, "click", "middleClick", "shift");
         /**
-         * An unshaded textured cube. // * Uses texture from jme3-test-data
-         * library!
+         * An unshaded textured cube.
+         * Uses texture from jme3-testdata library!
          */
         Box boxMesh = new Box(1f, 1f, 1f);
         Geometry boxGeo = new Geometry("A Textured Box", boxMesh);

+ 2 - 2
jme3-examples/src/main/java/jme3test/light/TestTransparentShadow.java

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2020 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -94,7 +94,7 @@ public class TestTransparentShadow extends SimpleApplication {
 
         rootNode.attachChild(tree);
 
-        // Uses Texture from jme3-test-data library!
+        // Uses Texture from jme3-testdata library!
         ParticleEmitter fire = new ParticleEmitter("Emitter", ParticleMesh.Type.Triangle, 30);
         Material mat_red = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
         mat_red.setTexture("Texture", assetManager.loadTexture("Effects/Explosion/flame.png"));

+ 1 - 1
jme3-examples/src/main/java/jme3test/model/TestGltfLoading.java

@@ -70,7 +70,7 @@ public class TestGltfLoading extends SimpleApplication {
     you can find them here :
     https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0
     https://sketchfab.com/features/gltf
-    You have to copy them in Model/gltf folder in the test-data project.
+    You have to copy them in Model/gltf folder in the jme3-testdata project.
      */
     @Override
     public void simpleInitApp() {