Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector3

dot(v)

Description:

Calculate the dot product of this Vector and the given Vector.

Parameters:

name type description
v Phaser.Math.Vector3

The Vector3 to dot product with this Vector3.

Returns:
Description:

The dot product of this Vector and v.

Type:
  • number
Since: 3.0.0
Source: src/math/Vector3.js (Line 582)