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

Method AddSpeed

src/Entities/Entity.cpp:1392–1399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1390
1391
1392void cEntity::AddSpeed(double a_AddSpeedX, double a_AddSpeedY, double a_AddSpeedZ)
1393{
1394 m_Speed.x += a_AddSpeedX;
1395 m_Speed.y += a_AddSpeedY;
1396 m_Speed.z += a_AddSpeedZ;
1397 m_bDirtySpeed = true;
1398 WrapSpeed();
1399}
1400
1401
1402

Callers 3

ItemMethod · 0.45
MoveToMethod · 0.45
ItemMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected