Просмотр исходного кода

TestTexture3D: correct 2 typographical errors in comments

Stephen Gold 4 лет назад
Родитель
Сommit
338f95de3b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      jme3-examples/src/main/java/jme3test/texture/TestTexture3D.java

+ 2 - 2
jme3-examples/src/main/java/jme3test/texture/TestTexture3D.java

@@ -71,7 +71,7 @@ public class TestTexture3D extends SimpleApplication {
         BoundingBox bb = (BoundingBox) sphere.getBound();
         Vector3f min = bb.getMin(null);
         float[] ext = new float[]{bb.getXExtent() * 2, bb.getYExtent() * 2, bb.getZExtent() * 2};
-        //we need to change the UV coordinates (the sphere is assumet to be inside the 3D image box)
+        //we need to change the UV coordinates (the sphere is assumed to be inside the 3D image box)
         sphere.clearBuffer(Type.TexCoord);
         VertexBuffer vb = sphere.getBuffer(Type.Position);
         FloatBuffer fb = (FloatBuffer) vb.getData();
@@ -112,7 +112,7 @@ public class TestTexture3D extends SimpleApplication {
     }
 
     /**
-         * This method creates a RGB8 texture with the sizes of 10x10x10 pixels.
+         * This method creates an RGB8 texture with the sizes of 10x10x10 pixels.
          */
     private Texture getTexture() throws IOException {
         ArrayList<ByteBuffer> data = new ArrayList<>(1);