WalkerCompareDir

Compares direction vectors of two walkers

Syntax: WalkerCompareDir(wa,wb)

  • wa walker a to compare with walker b

  • wb walker b to compare with walker a

Returns: Returned number reflects the relation between two direction vectors

  • 0 Direction vectors are perpendicular

  • 1 Directions are same

  • -1 Directions are opposite

Example: WalkerCompareDir(wlka,wlkb)

Last updated

Was this helpful?