mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
7fc1f8019f
* Implement ViewROI and base classes * Clean up Orientable header * Move tgl to tgl subdirectory, and use target_include_directories * Move classes to submodules * Fix some missed references * Fix/match UpdateWorldData * Renaming / removing MxTypes / refactoring * Consistent naming for Matrix * Adjust format action * Add Vector3/Vector4 to Data vector * Add TGL comment * Add a comment about Matrix4Impl * Add ROI comment --------- Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com> Co-authored-by: Christian Semmler <mail@csemmler.com>
19 lines
698 B
C
19 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
|