MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xEntInitShadow

Function xEntInitShadow

src/SB/Core/x/xEnt.cpp:1969–1979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1967}
1968
1969void xEntInitShadow(xEnt& ent, xEntShadow& shadow)
1970{
1971 ent.entShadow = &shadow;
1972
1973 shadow.vec.assign(0.0f, 1.0f, 0.0f);
1974 shadow.pos = ent.asset->pos;
1975 shadow.shadowModel = NULL;
1976 shadow.dst_cast = -1.0f;
1977 shadow.radius[0] = -1.0f;
1978 shadow.radius[1] = -1.0f;
1979}

Callers 4

zEntPlayer_InitFunction · 0.85
zLightAddLocalFunction · 0.85
InitMethod · 0.85
xEntBoulder_InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected