DotProduct (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Returns the dot product of the two vectors.

Usage

float DotProduct( vector vec1 , vector vec2 )

Parameters

  • [vec1] - The first of the two vectors.
  • [vec2] - The second of the two vectors.

Examples

 
dotVec = sys.dotProduct('25 46 98', '45 12 34');

Notes

This script event returns a float.