mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user