| Parameter | Description |
|---|---|
| x | The first value. |
| y | The second value. |
int The dot product of two values.
Returns the dot product of two int values. Equivalent to multiplication.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
int The dot product of two vectors.
Returns the dot product of two int2 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
int The dot product of two vectors.
Returns the dot product of two int3 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
int The dot product of two vectors.
Returns the dot product of two int4 vectors.
| Parameter | Description |
|---|---|
| x | The first value. |
| y | The second value. |
uint The dot product of two values.
Returns the dot product of two uint values. Equivalent to multiplication.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
uint The dot product of two vectors.
Returns the dot product of two uint2 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
uint The dot product of two vectors.
Returns the dot product of two uint3 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
uint The dot product of two vectors.
Returns the dot product of two uint4 vectors.
| Parameter | Description |
|---|---|
| x | The first value. |
| y | The second value. |
float The dot product of two values.
Returns the dot product of two float values. Equivalent to multiplication.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
float The dot product of two vectors.
Returns the dot product of two float2 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
float The dot product of two vectors.
Returns the dot product of two float3 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
float The dot product of two vectors.
Returns the dot product of two float4 vectors.
| Parameter | Description |
|---|---|
| x | The first value. |
| y | The second value. |
double The dot product of two values.
Returns the dot product of two double values. Equivalent to multiplication.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
double The dot product of two vectors.
Returns the dot product of two double2 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
double The dot product of two vectors.
Returns the dot product of two double3 vectors.
| Parameter | Description |
|---|---|
| x | The first vector. |
| y | The second vector. |
double The dot product of two vectors.
Returns the dot product of two double4 vectors.
| Parameter | Description |
|---|---|
| a | The first quaternion. |
| b | The second quaternion. |
float The dot product of two quaternions.
Returns the dot product of two quaternions.