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

Function ResetWireframeView

editor/moveworld.cpp:164–172  ·  view source on GitHub ↗

Reset the orienation, position, & distance of the wireframe view

Source from the content-addressed store, hash-verified

162
163// Reset the orienation, position, & distance of the wireframe view
164void ResetWireframeView() {
165 Wireframe_view->dist = DEFAULT_VIEW_DIST;
166 Wireframe_view->rad = DEFAULT_VIEW_RAD;
167 vm_MakeIdentity(&Wireframe_view->orient);
168
169 Wireframe_view->target = Mine_origin;
170
171 Edview_changed = 1;
172}
173
174// Reset the view radius of the wireframe view
175void ResetWireframeViewRad() {

Callers 2

CreateNewMineFunction · 0.85
OnViewCenterOnMineMethod · 0.85

Calls 1

vm_MakeIdentityFunction · 0.50

Tested by

no test coverage detected