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

Method PosSet

src/SB/Game/zNPCHazard.cpp:267–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void NPCHazard::PosSet(const xVec3* pos)
268{
269 if (pos != NULL)
270 {
271 xVec3Copy(&this->pos_hazard, pos);
272 }
273 if (this->mdl_hazard != NULL)
274 {
275 xVec3Copy((xVec3*)&this->mdl_hazard->Mat->pos, &this->pos_hazard);
276 }
277}
278
279void NPCHazard::SetAlpha(F32 alpha)
280{

Callers 1

ReconfigureMethod · 0.95

Calls 1

xVec3CopyFunction · 0.85

Tested by

no test coverage detected