#include "eina_matrix.h"
#include "eina_quaternion.h"
+EAPI void
+eina_quaternion_f16p16_set(Eina_Quaternion *out,
+ Eina_F16p16 x, Eina_F16p16 y,
+ Eina_F16p16 z, Eina_F16p16 w)
+{
+ out->w = w;
+ out->x = x;
+ out->y = y;
+ out->z = z;
+}
+
EAPI Eina_F16p16
eina_quaternion_f16p16_norm(const Eina_Quaternion_F16p16 *q)
{
eina_f16p16_add(xx, yy));
}
+EAPI void
+eina_quaternion_set(Eina_Quaternion *out, double x,
+ double y, double z, double w)
+{
+ out->w = w;
+ out->x = x;
+ out->y = y;
+ out->z = z;
+}
+
EAPI double
eina_quaternion_norm(const Eina_Quaternion *q)
{
Eina_F16p16 z;
};
+EAPI void eina_quaternion_f16p16_set(Eina_Quaternion *out,
+ Eina_F16p16 x, Eina_F16p16 y,
+ Eina_F16p16 z, Eina_F16p16 w);
EAPI Eina_F16p16 eina_quaternion_f16p16_norm(const Eina_Quaternion_F16p16 *q);
EAPI void eina_quaternion_f16p16_negative(Eina_Quaternion_F16p16 *out,
const Eina_Quaternion_F16p16 *in);
EAPI void eina_quaternion_f16p16_rotation_matri3_get(Eina_Matrix3_F16p16 *m,
const Eina_Quaternion_F16p16 *q);
+EAPI void eina_quaternion_set(Eina_Quaternion *q, double x,
+ double y, double z, double w);
EAPI double eina_quaternion_norm(const Eina_Quaternion *q);
EAPI void eina_quaternion_negative(Eina_Quaternion *out,
const Eina_Quaternion *in);