Home
last modified time | relevance | path

Searched refs:targetDirn (Results 1 – 2 of 2) sorted by relevance

/dports/games/avp/avp-20170505/src/avp/
H A Dbh_ais.c667 int NPCSetVelocity(STRATEGYBLOCK *sbPtr, VECTORCH* targetDirn, int in_speed) in NPCSetVelocity() argument
673 LOCALASSERT(targetDirn); in NPCSetVelocity()
687 targetDirn->vy = 0; in NPCSetVelocity()
690 if((targetDirn->vx==0)&&(targetDirn->vz==0)) in NPCSetVelocity()
710 dotProduct = DotProduct(&yDirection,targetDirn); in NPCSetVelocity()
779 targetDirn->vy = 0; in NPCSetVelocity()
782 if((targetDirn->vx==0)&&(targetDirn->vz==0)) in NPCSetVelocity()
798 dotProduct = DotProduct(&yDirection,targetDirn); in NPCSetVelocity()
800 targetV.vx = targetDirn->vx - MUL_FIXED(yDirection.vx,dotProduct); in NPCSetVelocity()
801 targetV.vy = targetDirn->vy - MUL_FIXED(yDirection.vy,dotProduct); in NPCSetVelocity()
[all …]
H A Dbh_ais.h166 extern int NPCSetVelocity(STRATEGYBLOCK *sbPtr, VECTORCH* targetDirn, int in_speed);