Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1283
void cEntity::SetPitch(double a_Pitch)
1284
{
1285
m_Rot.y = a_Pitch;
1286
m_bDirtyOrientation = true;
1287
WrapRotation();
1288
}
1289
1290
1291
Callers
3
HandlePlayerLook
Method · 0.45
HandlePlayerMoveLook
Method · 0.45
LoadNoteFromNBT
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected