Skip to content

raylib.Vector4DotProduct

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Vector4DotProduct

Parameters

Parameter Default Value Note
v1 [0, 0, 0, 0]
v2 [0, 0, 0, 0]

Return value

Condition Return Value
(always) number

Notes

Example

v1 = [1, 0, 0, 0]
v2 = [0, 1, 0, 0]
dot = raylib.Vector4DotProduct(v1, v2)
print dot  // 0 (perpendicular)

Clone this wiki locally