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