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

Method Render

src/SB/Game/zNPCGlyph.cpp:381–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void NPCGlyph::Render()
382{
383 xModelInstance* model = mdl_glyph;
384 if (model == NULL)
385 {
386 return;
387 }
388
389 if (flg_glyph & (1 << 6))
390 {
391 xVec3Copy(&model->Scale, &scl_glyph);
392 xModelRender(mdl_glyph);
393 xVec3Copy(&mdl_glyph->Scale, &g_Onez);
394 }
395 else
396 {
397 xModelRender(model);
398 }
399}
400
401void NPCGlyph::Enable(S32 ison)
402{

Callers 3

DeathRayRenderMethod · 0.45
LaserRenderMethod · 0.45

Calls 2

xVec3CopyFunction · 0.85
xModelRenderFunction · 0.85

Tested by

no test coverage detected