Implement ViewROI and base classes (#287)

* 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>
This commit is contained in:
Nathan M Gilbert
2023-11-19 09:38:07 -05:00
committed by GitHub
parent 17b0eeddb4
commit 7fc1f8019f
27 changed files with 1645 additions and 316 deletions

View File

@@ -1,19 +1,19 @@
#ifndef REALTIME_H
#define REALTIME_H
#include "../mxmatrix.h"
#include "matrix.h"
#define NORMVEC3(dst, src) \
{ \
MxDouble len = sqrt(NORMSQRD3(src)); \
double 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
const Vector3Impl& p_posVec,
const Vector3Impl& p_dirVec,
const Vector3Impl& p_upVec,
Matrix4Impl& p_outMatrix
);
#endif // REALTIME_H