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

Method PosSet

src/SB/Game/zNPCGlyph.cpp:425–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void NPCGlyph::PosSet(xVec3* pos)
426{
427 if (pos != NULL)
428 {
429 xVec3Copy(&pos_glyph, pos);
430 }
431 else
432 {
433 xVec3Copy(&pos_glyph, &g_O3);
434 }
435
436 if (mdl_glyph != NULL)
437 {
438 xVec3Copy((xVec3*)&mdl_glyph->Mat->pos, &pos_glyph);
439 }
440}
441
442void NPCGlyph::VelSet(xVec3* vel)
443{

Callers 2

SyncCattleProdMethod · 0.45
ProcessMethod · 0.45

Calls 1

xVec3CopyFunction · 0.85

Tested by

no test coverage detected