mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-peak.git
synced 2025-09-29 06:37:33 +00:00
Add Quaternion to rotation matrix
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#ifndef STA_PEAK_QUATERNION_HPP
|
||||
#define STA_PEAK_QUATERNION_HPP
|
||||
|
||||
#include <sta/math/linalg/matrix.hpp>
|
||||
namespace sta
|
||||
{
|
||||
namespace math {
|
||||
@@ -24,6 +25,8 @@ namespace sta
|
||||
|
||||
float norm();
|
||||
|
||||
matrix toRotationMatrix();
|
||||
|
||||
Quaternion normalized();
|
||||
|
||||
Quaternion operator*(const Quaternion& quat);
|
||||
|
Reference in New Issue
Block a user