blob: 3bc0edcd5d375d092a248bd14c413494c181fca2 [file] [log] [blame]
#ifndef QUAT_H_
#define QUAT_H_
#include "mat.h"
#include "vec.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Vec4 Quat;
void initQuat(Quat *q, const struct Mat33 *R);
void quatToMatrix(struct Mat33 *R, const Quat *q);
void quatNormalize(Quat *q);
#ifdef __cplusplus
}
#endif
#endif // QUAT_H_