From 3122e8044d930e7076c1b64ab7b6128fdb4bc17e Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Tue, 6 Feb 2018 18:24:44 -0800 Subject: [PATCH] correct spelling errors in comments --- jme3-core/src/main/java/com/jme3/renderer/Caps.java | 4 ++-- jme3-core/src/main/java/com/jme3/scene/Mesh.java | 6 +++--- jme3-core/src/main/java/com/jme3/shader/Shader.java | 8 ++++---- .../src/main/java/com/jme3/util/NativeObjectManager.java | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/renderer/Caps.java b/jme3-core/src/main/java/com/jme3/renderer/Caps.java index 91a54c1e6..d8e73a36e 100644 --- a/jme3-core/src/main/java/com/jme3/renderer/Caps.java +++ b/jme3-core/src/main/java/com/jme3/renderer/Caps.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -224,7 +224,7 @@ public enum Caps { */ GeometryShader, /** - * Supports Tesselation shader + * Supports Tessellation shader */ TesselationShader, /** diff --git a/jme3-core/src/main/java/com/jme3/scene/Mesh.java b/jme3-core/src/main/java/com/jme3/scene/Mesh.java index ebf1ac808..e07c2cfa2 100644 --- a/jme3-core/src/main/java/com/jme3/scene/Mesh.java +++ b/jme3-core/src/main/java/com/jme3/scene/Mesh.java @@ -139,8 +139,8 @@ public class Mesh implements Savable, Cloneable, JmeCloneable { */ Hybrid(false), /** - * Used for Tesselation only. Requires to set the number of vertices - * for each patch (default is 3 for triangle tesselation) + * Used for Tessellation only. Requires to set the number of vertices + * for each patch (default is 3 for triangle tessellation) */ Patch(true); private boolean listMode = false; @@ -182,7 +182,7 @@ public class Mesh implements Savable, Cloneable, JmeCloneable { private int vertCount = -1; private int elementCount = -1; private int instanceCount = -1; - private int patchVertexCount=3; //only used for tesselation + private int patchVertexCount=3; //only used for tessellation private int maxNumWeights = -1; // only if using skeletal animation private int[] elementLengths; diff --git a/jme3-core/src/main/java/com/jme3/shader/Shader.java b/jme3-core/src/main/java/com/jme3/shader/Shader.java index 9d0772913..887edea8a 100644 --- a/jme3-core/src/main/java/com/jme3/shader/Shader.java +++ b/jme3-core/src/main/java/com/jme3/shader/Shader.java @@ -83,12 +83,12 @@ public final class Shader extends NativeObject { */ Geometry("geom"), /** - * Controls tesselation factor (e.g how often a input patch should be + * Controls tessellation factor (e.g how often a input patch should be * subdivided) */ TessellationControl("tsctrl"), /** - * Controls tesselation transform (e.g similar to the vertex shader, but + * Controls tessellation transform (e.g similar to the vertex shader, but * required to mix inputs manual) */ TessellationEvaluation("tseval"); @@ -127,7 +127,7 @@ public final class Shader extends NativeObject { protected ShaderSource(ShaderSource ss){ super(ss.id); // No data needs to be copied. - // (This is a destructable clone) + // (This is a destructible clone) } public ShaderSource(){ @@ -227,7 +227,7 @@ public final class Shader extends NativeObject { } /** - * Do not use this constructor. Used for destructable clones only. + * Do not use this constructor. Used for destructible clones only. */ protected Shader(Shader s){ super(s.id); diff --git a/jme3-core/src/main/java/com/jme3/util/NativeObjectManager.java b/jme3-core/src/main/java/com/jme3/util/NativeObjectManager.java index 9df5853ca..cea15e9ed 100644 --- a/jme3-core/src/main/java/com/jme3/util/NativeObjectManager.java +++ b/jme3-core/src/main/java/com/jme3/util/NativeObjectManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -158,7 +158,7 @@ public class NativeObjectManager { } if (deleteBufs && UNSAFE && realObj != null) { // Only the real object has native buffers. - // The destructable clone has nothing and cannot be used in this case. + // The destructible clone has nothing and cannot be used in this case. realObj.deleteNativeBuffersInternal(); } }