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

Function NPCC_rightDir

src/SB/Game/zEntPlayer.cpp:8105–8111  ·  view source on GitHub ↗

TODO: This belongs in zNPCSupport.h but the compiler put it here for some reason?

Source from the content-addressed store, hash-verified

8103// TODO: This belongs in zNPCSupport.h
8104// but the compiler put it here for some reason?
8105WEAK xVec3* NPCC_rightDir(xEnt* ent)
8106{
8107 // So this is actually a reference to a struct RwV3D
8108 // which is the exact same as xVec3, but typed differently.
8109 // TODO: figure out what to do with these duplicate types
8110 return (xVec3*)&ent->model->Mat->right;
8111}
8112
8113WEAK xVec3* NPCC_faceDir(xEnt* ent)
8114{

Callers 9

FlankPlayerMethod · 0.85
GetInArenaMethod · 0.85
MoveEvadeMethod · 0.85
SonarHomingMethod · 0.85
CirclePlayerMethod · 0.85
StreakUpdateMethod · 0.85
Upd_CattleProdMethod · 0.85
EnterMethod · 0.85
CalcNewDirMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected