mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
19 lines
694 B
C
19 lines
694 B
C
#ifndef REALTIME_H
|
|
#define REALTIME_H
|
|
|
|
#include "../mxmatrix.h"
|
|
|
|
#define NORMVEC3(dst, src) \
|
|
{ \
|
|
MxDouble len = sqrt(NORMSQRD3(src)); \
|
|
VDS3(dst, src, len); \
|
|
}
|
|
|
|
void CalcLocalTransform(
|
|
const MxVector3& p_posVec,
|
|
const MxVector3& p_dirVec,
|
|
const MxVector3& p_upVec,
|
|
MxMatrix& p_outMatrix
|
|
);
|
|
|
|
#endif // REALTIME_H
|