33 lines
1020 B
C
33 lines
1020 B
C
|
#ifndef _PDR_QUATERNION_H_
|
|||
|
#define _PDR_QUATERNION_H_
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
extern "C" {
|
|||
|
#endif
|
|||
|
|
|||
|
/**---------------------------------------------------------------------
|
|||
|
* Function : QuaternionNorm
|
|||
|
* Description : <EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>
|
|||
|
* Date : 2022/09/21 logzhan
|
|||
|
*---------------------------------------------------------------------**/
|
|||
|
void QuaternionNorm(float* q0, float* q1, float* q2, float* q3);
|
|||
|
|
|||
|
/**---------------------------------------------------------------------
|
|||
|
* Function : QuaternConj
|
|||
|
* Description : <EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD>
|
|||
|
* Date : 2022/09/21 logzhan
|
|||
|
*---------------------------------------------------------------------**/
|
|||
|
void QuaternConj(float qc[], float q[]);
|
|||
|
|
|||
|
/**---------------------------------------------------------------------
|
|||
|
* Function : QuaternProd
|
|||
|
* Description : <EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD>˷<EFBFBD>
|
|||
|
* Date : 2022/09/21 logzhan
|
|||
|
*---------------------------------------------------------------------**/
|
|||
|
void QuaternProd(float qab[], float qa[], float qb[]);
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
}
|
|||
|
#endif
|
|||
|
|
|||
|
#endif
|