mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 16:51:15 +00:00
20 lines
698 B
C
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
|