mirror of
https://github.com/thug1src/thug.git
synced 2024-12-02 12:56:45 +00:00
28 lines
550 B
C
28 lines
550 B
C
//#ifndef _SLERP_H_
|
|
//#define _SLERP_H_
|
|
//
|
|
//#include "p_hw.h"
|
|
//#include "p_matrix.h"
|
|
//
|
|
//class NsSlerp
|
|
//{
|
|
// NsMatrix m_start;
|
|
// NsMatrix m_end;
|
|
// NsVector m_axis;
|
|
// float m_angle;
|
|
// int m_lerp; // 1=use lerp, 0=use slerp.
|
|
//public:
|
|
// NsSlerp ();
|
|
// NsSlerp ( NsMatrix * start, NsMatrix * end );
|
|
//
|
|
// void setMatrices ( NsMatrix * start, NsMatrix * end );
|
|
// void setMatrices ( MtxPtr start, MtxPtr end );
|
|
//
|
|
// void getMatrix ( NsMatrix * result, float delta );
|
|
//};
|
|
//
|
|
//#endif // _SLERP_H_
|
|
|
|
|
|
|