MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / g3_GetViewPosition

Function g3_GetViewPosition

renderer/HardwareSetup.cpp:156–156  ·  view source on GitHub ↗

get the current view position

Source from the content-addressed store, hash-verified

154
155// get the current view position
156void g3_GetViewPosition(vector *vp) { *vp = View_position; }
157
158void g3_GetViewMatrix(matrix *mat) { *mat = View_matrix; }
159

Callers 11

RenderMethod · 0.85
TGWRenderMineMethod · 0.85
IsPointVisibleFunction · 0.85
RenderTerrainFunction · 0.85
PostRenderFunction · 0.85
DrawSmallViewsFunction · 0.85
TCAMRenderTerrainFunction · 0.85
RenderMineFunction · 0.85
GetBillboardCornersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected