Isle
Loading...
Searching...
No Matches
viewmanager.cpp File Reference
#include "viewmanager.h"
#include "mxdirectx/mxstopwatch.h"
#include "tgl/d3drm/impl.h"
#include "viewlod.h"
#include <vec.h>
Include dependency graph for viewmanager.cpp:

Go to the source code of this file.

Functions

void SetAppData (ViewROI *p_roi, LPD3DRM_APPDATA data)
 
undefined4 GetD3DRM (IDirect3DRM2 *&d3drm, Tgl::Renderer *pRenderer)
 
undefined4 GetFrame (IDirect3DRMFrame2 *&frame, Tgl::Group *scene)
 

Variables

int g_boundingBoxCornerMap [8][3]
 
int g_planePointIndexMap [18] = {0, 1, 5, 6, 2, 3, 3, 0, 4, 1, 2, 6, 0, 3, 2, 4, 5, 6}
 
float g_LODScaleFactor = 4.0F
 
float g_minLODThreshold = 0.00097656297
 
int g_maxLODLevels = 6
 
float g_unk0x1010105c = 0.000125F
 
float g_elapsedSeconds = 0
 

Function Documentation

◆ GetD3DRM()

undefined4 GetD3DRM ( IDirect3DRM2 *&  d3drm,
Tgl::Renderer pRenderer 
)
inline

Definition at line 548 of file viewmanager.cpp.

◆ GetFrame()

undefined4 GetFrame ( IDirect3DRMFrame2 *&  frame,
Tgl::Group scene 
)
inline

Definition at line 554 of file viewmanager.cpp.

◆ SetAppData()

void SetAppData ( ViewROI p_roi,
LPD3DRM_APPDATA  data 
)
inline

Definition at line 539 of file viewmanager.cpp.

Variable Documentation

◆ g_boundingBoxCornerMap

int g_boundingBoxCornerMap[8][3]
Initial value:
=
{{0, 0, 0}, {0, 0, 1}, {0, 1, 0}, {1, 0, 0}, {0, 1, 1}, {1, 0, 1}, {1, 1, 0}, {1, 1, 1}}

Definition at line 12 of file viewmanager.cpp.

◆ g_elapsedSeconds

float g_elapsedSeconds = 0

Definition at line 31 of file viewmanager.cpp.

◆ g_LODScaleFactor

float g_LODScaleFactor = 4.0F

Definition at line 19 of file viewmanager.cpp.

◆ g_maxLODLevels

int g_maxLODLevels = 6

Definition at line 25 of file viewmanager.cpp.

◆ g_minLODThreshold

float g_minLODThreshold = 0.00097656297

Definition at line 22 of file viewmanager.cpp.

◆ g_planePointIndexMap

int g_planePointIndexMap[18] = {0, 1, 5, 6, 2, 3, 3, 0, 4, 1, 2, 6, 0, 3, 2, 4, 5, 6}

Definition at line 16 of file viewmanager.cpp.

◆ g_unk0x1010105c

float g_unk0x1010105c = 0.000125F

Definition at line 28 of file viewmanager.cpp.