isle/LEGO1/realtime/realtime.h
Ramen2X 346c8387f5 address feedback
move vec.h to thirdparty folder
update vec.h
move all realtime code to realtime folder
move calclocaltransform out of legoutil and into realtime
cast shift to MxS32
add additional unroll hack to CalcLocalTransform to prevent msvc entropy
2023-10-24 08:10:05 -04:00

14 lines
335 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