Skip to content

Commit 1a42b21

Browse files
committed
jme3-core: correct more grammar/spelling/typographic errors in comments
1 parent 7ed3d37 commit 1a42b21

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

jme3-core/src/main/java/com/jme3/environment/LightProbeFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private static void generatePbrMaps(TextureCubeMap envMap, final LightProbe prob
214214
}
215215

216216
/**
217-
* For debuging purposes only.
217+
* For debugging purposes only.
218218
* Will return a Node meant to be added to a GUI presenting the 2 cube maps in a cross pattern with all the mip maps.
219219
*
220220
* @param manager the asset manager

jme3-core/src/main/java/com/jme3/environment/util/BoundingSphereDebug.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2015 jMonkeyEngine
2+
* Copyright (c) 2009-2021 jMonkeyEngine
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -44,7 +44,7 @@
4444

4545
/**
4646
*
47-
* A debuging shape for a BoundingSphere
47+
* A debugging shape for a BoundingSphere
4848
* Consists of 3 axis aligned circles.
4949
*
5050
* @author nehon
@@ -158,7 +158,7 @@ private void setIndexData() {
158158

159159

160160
/**
161-
* Convenience factory method that creates a debuging bounding sphere geometry
161+
* Convenience factory method that creates a debug bounding-sphere geometry
162162
* @param assetManager the assetManager
163163
* @return the bounding sphere debug geometry.
164164
*/

jme3-core/src/main/java/com/jme3/post/Filter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2020 jMonkeyEngine
2+
* Copyright (c) 2009-2021 jMonkeyEngine
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -463,7 +463,7 @@ public boolean isEnabled() {
463463
}
464464

465465
/**
466-
* sets a reference to the FilterPostProcessor ti which this filter is attached
466+
* sets a reference to the FilterPostProcessor to which this filter is attached
467467
* @param proc
468468
*/
469469
protected void setProcessor(FilterPostProcessor proc) {

jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private void init(AssetManager assetManager, int nbShadowMaps, int shadowMapSize
179179

180180
postshadowMat.setTexture(shadowMapStringCache[i], shadowMaps[i]);
181181

182-
//quads for debuging purpose
182+
//quads for debugging purposes
183183
dispPic[i] = new Picture("Picture" + i);
184184
dispPic[i].setTexture(assetManager, shadowMaps[i], false);
185185
}

jme3-core/src/main/java/com/jme3/shadow/BasicShadowRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public Vector3f getDirection() {
126126
}
127127

128128
/**
129-
* sets the light direction to use to computs shadows
129+
* sets the light direction to use to compute shadows
130130
* @param direction
131131
*/
132132
public void setDirection(Vector3f direction) {

jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ protected PssmShadowRenderer(AssetManager manager, int size, int nbSplits, Mater
236236

237237
postshadowMat.setTexture("ShadowMap" + i, shadowMaps[i]);
238238

239-
//quads for debuging purpose
239+
//quads for debugging purposes
240240
dispPic[i] = new Picture("Picture" + i);
241241
dispPic[i].setTexture(manager, shadowMaps[i], false);
242242
}

jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowRendererVR.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private void init(AssetManager assetManager, int nbShadowMaps, int shadowMapSize
178178

179179
postshadowMat.setTexture(shadowMapStringCache[i], shadowMaps[i]);
180180

181-
//quads for debuging purpose
181+
//quads for debugging purposes
182182
dispPic[i] = new Picture("Picture" + i);
183183
dispPic[i].setTexture(assetManager, shadowMaps[i], false);
184184
}

0 commit comments

Comments
 (0)