Skip to content

Commit

Permalink
VectorSet: simplify the addAll() signature (API change)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Dec 28, 2023
1 parent 79b3162 commit 34d0278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/jme3utilities/math/VectorSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public interface VectorSet {
*
* @param vectors the values to add (not null, unaffected)
*/
void addAll(Iterable<? extends Vector3f> vectors); // TODO Vector3f is final
void addAll(Iterable<Vector3f> vectors);

/**
* Reset this set to its initial (empty) state without altering its
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/jme3utilities/math/VectorSetUsingBuffer.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public void add(Vector3f vector) {
* @param vectors the values to add (not null, unaffected)
*/
@Override
public void addAll(Iterable<? extends Vector3f> vectors) {
public void addAll(Iterable<Vector3f> vectors) {
for (Vector3f vector : vectors) {
add(vector.x, vector.y, vector.z);
}
Expand Down

0 comments on commit 34d0278

Please sign in to comment.