Skip to content

Commit 2da5543

Browse files
committed
com.jme3.math: remove trailing whitespace
1 parent c10e5d3 commit 2da5543

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

jme3-core/src/main/java/com/jme3/math/Vector2f.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@ public Vector2f mult(float scalar, Vector2f product) {
402402
product.y = y * scalar;
403403
return product;
404404
}
405-
405+
406406
/**
407-
* Multiplies component-wise by the specified components and returns the
407+
* Multiplies component-wise by the specified components and returns the
408408
* product as a new instance. The current instance is unaffected.
409409
*
410410
* @param x the scale factor for the X component
@@ -414,9 +414,9 @@ public Vector2f mult(float scalar, Vector2f product) {
414414
public Vector2f mult(float x, float y) {
415415
return new Vector2f(this.x * x, this.y * y);
416416
}
417-
417+
418418
/**
419-
* Multiplies component-wise by the specified components and returns the
419+
* Multiplies component-wise by the specified components and returns the
420420
* (modified) current instance.
421421
*
422422
* @param x the scale factor for the X component
@@ -428,7 +428,7 @@ public Vector2f multLocal(float x, float y) {
428428
this.y *= y;
429429
return this;
430430
}
431-
431+
432432
/**
433433
* Divides by the scalar argument and returns the quotient as a new
434434
* instance. The current instance is unaffected.
@@ -452,7 +452,7 @@ public Vector2f divideLocal(float scalar) {
452452
y /= scalar;
453453
return this;
454454
}
455-
455+
456456
/**
457457
* Divides component-wise by the specified components and returns the quotient
458458
* as a new instance. The current instance is unaffected.
@@ -464,9 +464,9 @@ public Vector2f divideLocal(float scalar) {
464464
public Vector2f divide(float x, float y) {
465465
return new Vector2f(this.x / x, this.y / y);
466466
}
467-
467+
468468
/**
469-
* Divides component-wise by the specified components returns the (modified)
469+
* Divides component-wise by the specified components returns the (modified)
470470
* current instance.
471471
*
472472
* @param x the divisor for the X component
@@ -478,7 +478,7 @@ public Vector2f divideLocal(float x, float y) {
478478
this.y /= y;
479479
return this;
480480
}
481-
481+
482482
/**
483483
* Returns the negative of the vector. The current instance is unaffected.
484484
*

jme3-core/src/main/java/com/jme3/math/Vector3f.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,9 @@ public Vector3f mult(Vector3f vec) {
569569
}
570570
return mult(vec, null);
571571
}
572-
572+
573573
/**
574-
* Multiplies component-wise by the specified components and returns the
574+
* Multiplies component-wise by the specified components and returns the
575575
* product as a new instance. The current instance is unaffected.
576576
*
577577
* @param x the scale factor for the X component
@@ -582,7 +582,7 @@ public Vector3f mult(Vector3f vec) {
582582
public Vector3f mult(float x, float y, float z) {
583583
return new Vector3f(this.x * x, this.y * y, this.z * z);
584584
}
585-
585+
586586
/**
587587
* Multiplies component-wise with the specified vector and returns the
588588
* product in a 3rd vector. If the argument is null, null is returned.
@@ -630,9 +630,9 @@ public Vector3f divideLocal(float scalar) {
630630
z *= scalar;
631631
return this;
632632
}
633-
633+
634634
/**
635-
* Divides component-wise by the specified components returns the (modified)
635+
* Divides component-wise by the specified components returns the (modified)
636636
* current instance.
637637
*
638638
* @param x the divisor for the X component
@@ -670,7 +670,7 @@ public Vector3f divide(Vector3f divisor) {
670670
public Vector3f divide(float x, float y, float z) {
671671
return new Vector3f(this.x / x, this.y / y, this.z / z);
672672
}
673-
673+
674674
/**
675675
* Divides component-wise by the argument and returns the (modified) current
676676
* instance.

jme3-core/src/main/java/com/jme3/math/Vector4f.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@ public Vector4f mult(float scalar, Vector4f product) {
422422
product.w = w * scalar;
423423
return product;
424424
}
425-
425+
426426
/**
427-
* Multiplies component-wise by the specified components and returns the
427+
* Multiplies component-wise by the specified components and returns the
428428
* product as a new instance. The current instance is unaffected.
429429
*
430430
* @param x the scale factor for the X component
@@ -590,9 +590,9 @@ public Vector4f divideLocal(Vector4f divisor) {
590590
w /= divisor.w;
591591
return this;
592592
}
593-
593+
594594
/**
595-
* Divides component-wise by the specified components returns the (modified)
595+
* Divides component-wise by the specified components returns the (modified)
596596
* current instance.
597597
*
598598
* @param x the divisor for the X component
@@ -607,8 +607,8 @@ public Vector4f divideLocal(float x, float y, float z, float w) {
607607
this.z /= z;
608608
this.w /= w;
609609
return this;
610-
}
611-
610+
}
611+
612612
/**
613613
* Divides component-wise by the specified components and returns the quotient
614614
* as a new instance. The current instance is unaffected.

0 commit comments

Comments
 (0)