---
title: "dot | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable dot`Const`

dot: typeof [vec4](https://docs.maptiler.com/sdk-js/api-reference/modules/Externals.vec4/).[dot](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.vec4.dot/)

Calculates the dot product of two quat's

#### Param: a[](#param-a)

the first operand

#### Param: b[](#param-b)

the second operand

#### Returns[](#returns)

dot product of a and b

#### Function[](#function)
