From ed7aadcd87a64cde70febc8ee313860e8c67dcaf Mon Sep 17 00:00:00 2001 From: tagcup Date: Fri, 11 May 2018 20:14:39 -0400 Subject: Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation. Also even out Basis and Quat APIs a little. --- core/math/matrix3.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/math/matrix3.h') diff --git a/core/math/matrix3.h b/core/math/matrix3.h index fd383fc673..63d4f5d79d 100644 --- a/core/math/matrix3.h +++ b/core/math/matrix3.h @@ -155,6 +155,8 @@ public: bool is_diagonal() const; bool is_rotation() const; + Basis slerp(const Basis &target, const real_t &t) const; + operator String() const; /* create / set */ -- cgit v1.2.3