MCPcopy Create free account
hub / github.com/HarbourMasters/SpaghettiKart / ClearMatrixPools

Function ClearMatrixPools

src/engine/Matrix.cpp:251–256  ·  view source on GitHub ↗

* Note that the game doesn't seem to clear all of these at the beginning of a new frame. * We might need to adjust which ones we clear. */

Source from the content-addressed store, hash-verified

249 * We might need to adjust which ones we clear.
250 */
251 void ClearMatrixPools(void) {
252 GetWorld()->Mtx.Objects.clear();
253 // GetWorld()->Mtx.Shadows.clear();
254 //GetWorld()->Mtx.Karts.clear();
255 // GetWorld()->Mtx.Effects.clear();
256 }
257
258 void ClearObjectsMatrixPool(void) {
259 GetWorld()->Mtx.Objects.clear();

Callers 3

race_logic_loopFunction · 0.85
podium_ceremony_loopFunction · 0.85
func_80280038Function · 0.85

Calls 1

GetWorldFunction · 0.85

Tested by

no test coverage detected