Skip to content

Commit

Permalink
tweak some javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 24, 2025
1 parent 010391d commit 90af6ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/github/stephengold/joltjni/Color.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2024 Stephen Gold
Copyright (c) 2024-2025 Stephen Gold
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -236,7 +236,7 @@ public void setR(int r) {
}

/**
* Alter the all components.
* Alter all components.
*
* @param u32 the desired 32-bit value
*/
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/stephengold/joltjni/Vec3.java
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public void standardizeInPlace() {
/**
* Return the component-wise sum of the specified vectors.
*
* @param vArray an array of input vector (not null, unaffected)
* @param vArray an array of input vectors (not null, unaffected)
* @return a new vector
*/
public static Vec3 sum(Vec3Arg... vArray) {
Expand Down Expand Up @@ -691,7 +691,7 @@ public boolean isNearZero() {
}

/**
* Test whether the the squared length is within the specified tolerance of
* Test whether the squared length is within the specified tolerance of
* zero. The vector is unaffected.
*
* @param tolerance the desired tolerance (≥0. default=1e-12)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public WheelSettings[] getWheels() {
}

/**
* Alter how the the vehicle accelerates and decelerates. (native attribute:
* Alter how the vehicle accelerates and decelerates. (native attribute:
* mController)
*
* @param controllerSettings the desired settings (not null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public interface Vec3Arg {
boolean isNearZero();

/**
* Test whether the the squared length is within the specified tolerance of
* Test whether the squared length is within the specified tolerance of
* zero. The vector is unaffected.
*
* @param tolerance the desired tolerance (≥0. default=1e-12)
Expand Down

0 comments on commit 90af6ce

Please sign in to comment.