Name | dot() |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Examples |
v = PVector(10, 20, 0) d = v.dot(60, 80, 0) print(d) # Prints "2200.0" v1 = PVector(10, 20, 0) v2 = PVector(60, 80, 0) d = v1.dot(v2) print(d) # Prints "2200.0" | ||||||||||||
Description | Calculates the dot product of two vectors. | ||||||||||||
Syntax | .dot(v) .dot(x, y, z) .dot(v1, v2) | ||||||||||||
Parameters |
|
Updated on Mon Sep 21 15:53:25 2020.
If you see any errors or have comments, please let us know.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License