Skip to content

Commit

Permalink
Update Vector3D.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael-Dev-21 authored Oct 14, 2020
1 parent cfbbc2e commit a513432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/br/com/rafael/math/vector/Vector3D.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ public Vector3D normalize() {
return clone().normalizeMe();
}

public Vector3D resizeMe(float size) {
public Vector3D resizeMe(double size) {
return normalizeMe().multiplyMe(size);
}

public Vector3D resize(float size) {
public Vector3D resize(double size) {
return clone().resizeMe(size);
}

Expand Down

0 comments on commit a513432

Please sign in to comment.