From 52c7d151bd1fc13bdd5a0ecb9b97e97bbb41af82 Mon Sep 17 00:00:00 2001 From: httpdigest Date: Wed, 2 Aug 2023 11:14:03 +0200 Subject: [PATCH] Fix Quaternion.fromAxisAngleDeg() angle parameter JavaDocs (#342) --- src/main/java/org/joml/Quaterniond.java | 2 +- src/main/java/org/joml/Quaternionf.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/joml/Quaterniond.java b/src/main/java/org/joml/Quaterniond.java index f4dc04d9..370a3039 100644 --- a/src/main/java/org/joml/Quaterniond.java +++ b/src/main/java/org/joml/Quaterniond.java @@ -770,7 +770,7 @@ public Quaterniond fromAxisAngleDeg(Vector3dc axis, double angle) { * @param axisZ * the z component of the rotation axis * @param angle - * the angle in radians + * the angle in degrees * @return this */ public Quaterniond fromAxisAngleDeg(double axisX, double axisY, double axisZ, double angle) { diff --git a/src/main/java/org/joml/Quaternionf.java b/src/main/java/org/joml/Quaternionf.java index 0ea18431..ad0f38b6 100644 --- a/src/main/java/org/joml/Quaternionf.java +++ b/src/main/java/org/joml/Quaternionf.java @@ -979,7 +979,7 @@ public Quaternionf fromAxisAngleDeg(Vector3fc axis, float angle) { * @param axisZ * the z component of the rotation axis * @param angle - * the angle in radians + * the angle in degrees * @return this */ public Quaternionf fromAxisAngleDeg(float axisX, float axisY, float axisZ, float angle) {