From a5134326031692854ec3a4e945a9dfd43eac14a0 Mon Sep 17 00:00:00 2001 From: Rafael-Dev-21 <57507185+Rafael-Dev-21@users.noreply.github.com> Date: Wed, 14 Oct 2020 15:42:57 -0300 Subject: [PATCH] Update Vector3D.java --- src/main/java/br/com/rafael/math/vector/Vector3D.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/br/com/rafael/math/vector/Vector3D.java b/src/main/java/br/com/rafael/math/vector/Vector3D.java index 85b41ff..0cc8f49 100644 --- a/src/main/java/br/com/rafael/math/vector/Vector3D.java +++ b/src/main/java/br/com/rafael/math/vector/Vector3D.java @@ -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); }