From 4924006cbb60472d96faea9393b108efec709019 Mon Sep 17 00:00:00 2001 From: hYdos Date: Sun, 23 Feb 2020 15:37:42 +1000 Subject: [PATCH] fully done vector4f --- .../java/io/github/hydos/ginger/engine/math/Quaternion.java | 3 ++- .../io/github/hydos/ginger/engine/math/vectors/Vector3f.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/hydos/ginger/engine/math/Quaternion.java b/src/main/java/io/github/hydos/ginger/engine/math/Quaternion.java index 3814f32..773b03c 100644 --- a/src/main/java/io/github/hydos/ginger/engine/math/Quaternion.java +++ b/src/main/java/io/github/hydos/ginger/engine/math/Quaternion.java @@ -42,11 +42,12 @@ package io.github.hydos.ginger.engine.math; import java.nio.FloatBuffer; +import org.joml.Vector4f; + import io.github.hydos.ginger.engine.math.matrixes.Matrix3f; import io.github.hydos.ginger.engine.math.matrixes.Matrix4f; import io.github.hydos.ginger.engine.math.vectors.ReadableVector4f; import io.github.hydos.ginger.engine.math.vectors.Vector; -import io.github.hydos.ginger.engine.math.vectors.Vector4f; public class Quaternion extends Vector implements ReadableVector4f { private static final long serialVersionUID = 1L; diff --git a/src/main/java/io/github/hydos/ginger/engine/math/vectors/Vector3f.java b/src/main/java/io/github/hydos/ginger/engine/math/vectors/Vector3f.java index f044849..de05b6d 100644 --- a/src/main/java/io/github/hydos/ginger/engine/math/vectors/Vector3f.java +++ b/src/main/java/io/github/hydos/ginger/engine/math/vectors/Vector3f.java @@ -43,6 +43,7 @@ import java.nio.FloatBuffer; * $Id$ */ +@Deprecated public class Vector3f extends Vector implements Serializable, ReadableVector3f, WritableVector3f { private static final long serialVersionUID = 1L;