isle-portable/LEGO1/realtime/realtime.h

20 lines
698 B
C
Raw Normal View History

#ifndef REALTIME_H
#define REALTIME_H
#include "matrix.h"
2023-10-24 19:38:27 -04:00
#define NORMVEC3(dst, src) \
{ \
double len = sqrt(NORMSQRD3(src)); \
2023-10-24 19:38:27 -04:00
VDS3(dst, src, len); \
}
2023-10-24 19:38:27 -04:00
void CalcLocalTransform(
const Vector3Impl& p_posVec,
const Vector3Impl& p_dirVec,
const Vector3Impl& p_upVec,
Matrix4Impl& p_outMatrix
2023-10-24 19:38:27 -04:00
);
#endif // REALTIME_H