MCPcopy Create free account
hub / github.com/DavidColson/Polybox / Translate

Function Translate

source/graphics.cpp:850–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848// ***********************************************************************
849
850void Translate(Vec3f translation) {
851 u64 mode = (u64)pRenderState->matrixModeState;
852 pRenderState->matrixStates[mode].Top() *= Matrixf::MakeTranslation(translation);
853}
854
855// ***********************************************************************
856

Callers 2

LuaTranslateFunction · 0.85
DrawSpriteRectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected