MCPcopy Create free account
hub / github.com/cuberite/cuberite / SetPitch

Method SetPitch

src/Entities/Entity.cpp:1283–1288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1281
1282
1283void cEntity::SetPitch(double a_Pitch)
1284{
1285 m_Rot.y = a_Pitch;
1286 m_bDirtyOrientation = true;
1287 WrapRotation();
1288}
1289
1290
1291

Callers 3

HandlePlayerLookMethod · 0.45
HandlePlayerMoveLookMethod · 0.45
LoadNoteFromNBTMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected