isle/LEGO1/realtime/realtime.h
2023-11-18 05:56:08 -05:00

20 lines
698 B
C

#ifndef REALTIME_H
#define REALTIME_H
#include "matrix.h"
#define NORMVEC3(dst, src) \
{ \
double len = sqrt(NORMSQRD3(src)); \
VDS3(dst, src, len); \
}
void CalcLocalTransform(
const Vector3Impl& p_posVec,
const Vector3Impl& p_dirVec,
const Vector3Impl& p_upVec,
Matrix4Impl& p_outMatrix
);
#endif // REALTIME_H