Documentation
›
API Reference
›
Object
›
Math
›
Vec3
Dot
Lua
C++
This function returns the dot product of two vectors.
Syntax
number
Dot
(Vec3 v)
Parameters
v:
the input vector.
Returns
Returns the dot product of this vector and the input vector.