MCPcopy Create free account
hub / github.com/demoth/jake2 / CenterView

Method CenterView

client/src/main/java/jake2/client/IN.java:149–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147 }
148
149 public static void CenterView() {
150 ClientGlobals.cl.viewangles[PITCH] = -Math3D
151 .SHORT2ANGLE(ClientGlobals.cl.frame.playerstate.pmove.delta_angles[PITCH]);
152 }
153
154 public static void Move(usercmd_t cmd) {
155 if (!IN.mouse_avail)

Callers 2

InitInputMethod · 0.95
MLookUpMethod · 0.95

Calls 1

SHORT2ANGLEMethod · 0.95

Tested by

no test coverage detected