MCPcopy Create free account
hub / github.com/OGRECave/ogre / getMidPointGridSpace

Method getMidPointGridSpace

Components/Paging/src/OgreGrid2DPageStrategy.cpp:176–180  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

174 }
175 //---------------------------------------------------------------------
176 void Grid2DPageStrategyData::getMidPointGridSpace(int32 x, int32 y, Vector2& mid)
177 {
178 mid.x = mOrigin.x + x * mCellSize;
179 mid.y = mOrigin.y + y * mCellSize;
180 }
181 //---------------------------------------------------------------------
182 void Grid2DPageStrategyData::getCornersGridSpace(int32 x, int32 y, Vector2* pFourPoints)
183 {

Callers 1

updateDebugDisplayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected