MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / prepareWalk

Method prepareWalk

source/camera/SlopeWalk.cpp:85–91  ·  view source on GitHub ↗

reset indexes to the begginging of containers

Source from the content-addressed store, hash-verified

83
84// reset indexes to the begginging of containers
85void SlopeWalk::prepareWalk()
86{
87 mLeftSlopeIndex = mLeftSlopes.begin();
88 mRightSlopeIndex = mRightSlopes.begin();
89 mLeftVerticesIndex = mLeftVertices.begin();
90 mRightVerticesIndex = mRightVertices.begin();
91}
92
93// What to do when passing one Vertex down on the Left Path
94bool SlopeWalk::passLeftVertex()

Callers 3

cullTilesMethod · 0.80
startTileCullingMethod · 0.80
stopTileCullingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected