---
title: "quat | 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.

# Namespace quat

## Variables[](#variables)

[add](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.add/)[](#add)

[clone](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.clone/)[](#clone)

[copy](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.copy/)[](#copy)

[dot](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.dot/)[](#dot)

[exactEquals](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.exactEquals/)[](#exactequals)

[fromValues](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.fromValues/)[](#fromvalues)

[len](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.len/)[](#len)

[length](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.length/)[](#length)

[lerp](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.lerp/)[](#lerp)

[normalize](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.normalize/)[](#normalize)

[scale](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.scale/)[](#scale)

[set](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.set/)[](#set)

[sqrLen](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.sqrLen/)[](#sqrlen)

[squaredLength](https://docs.maptiler.com/sdk-js/api-reference/variables/Externals.quat.squaredLength/)[](#squaredlength)

## Functions[](#functions)

[calculateW](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.calculateW/)[](#calculatew)

[conjugate](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.conjugate/)[](#conjugate)

[create](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.create/)[](#create)

[equals](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.equals/)[](#equals)

[exp](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.exp/)[](#exp)

[fromEuler](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.fromEuler/)[](#fromeuler)

[fromMat3](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.fromMat3/)[](#frommat3)

[getAngle](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.getAngle/)[](#getangle)

[getAxisAngle](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.getAxisAngle/)[](#getaxisangle)

[identity](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.identity/)[](#identity)

[invert](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.invert/)[](#invert)

[ln](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.ln/)[](#ln)

[mul](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.mul/)[](#mul)

[multiply](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.multiply/)[](#multiply)

[pow](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.pow/)[](#pow)

[random](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.random/)[](#random)

[rotateX](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.rotateX/)[](#rotatex)

[rotateY](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.rotateY/)[](#rotatey)

[rotateZ](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.rotateZ/)[](#rotatez)

[rotationTo](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.rotationTo/)[](#rotationto)

[setAxes](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.setAxes/)[](#setaxes)

[setAxisAngle](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.setAxisAngle/)[](#setaxisangle)

[slerp](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.slerp/)[](#slerp)

[sqlerp](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.sqlerp/)[](#sqlerp)

[str](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.quat.str/)[](#str)
