Home
last modified time | relevance | path

Searched refs:flLen (Results 1 – 3 of 3) sorted by relevance

/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/bot/
H A Dbot_util.cpp379 float flLen = sqrt(v.x*v.x + v.y*v.y + v.z*v.z); in Normalize() local
381 if (flLen == 0) in Normalize()
387 flLen = 1 / flLen; in Normalize()
388 v_norm.x = v.x * flLen; v_norm.y = v.y * flLen; v_norm.z = v.z * flLen; in Normalize()
/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A Dai_wpnav.c1833 float flLen; in GetNearestVisibleWPToItem() local
1855 flLen = VectorLength(a); in GetNearestVisibleWPToItem()
1859 bestdist = flLen; in GetNearestVisibleWPToItem()
2391 float flLen; in SavePathData() local
2449 flLen = VectorLength(a); in SavePathData()
2453 flLen = 0; in SavePathData()
2456 gWPArray[i]->disttonext = flLen; in SavePathData()
2458 Com_sprintf(fileString, 524288, "%s} %f\n", fileString, flLen); in SavePathData()
2485 flLen = VectorLength(a); in SavePathData()
2489 flLen = 0; in SavePathData()
[all …]
H A Dai_main.c1139 float flLen; in GetNearestVisibleWP() local
1167 flLen = VectorLength(a); in GetNearestVisibleWP()
1169 …if (flLen < bestdist && (RMG.integer || BotPVSCheck(org, gWPArray[i]->origin)) && OrgVisibleBox(or… in GetNearestVisibleWP()
1171 bestdist = flLen; in GetNearestVisibleWP()