Dot_product_3d - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Calculates the dot product of two 3D vectors.

Parameters

  • x1 (x1, y1, z1) represents the first coordinate
  • y1
  • z1
  • x2 (x2, y2, z2) represents the second coordinate
  • y2
  • z2

Return Values

Returns the dot product of two 3D vectors.

Example Call

// demonstrates
dot_product(0, 0, 0, 0, 0, 0);

NOTOC

Category:Function:Real