Skip to main content Link Search Menu Expand Document (external link)

Geometry Utilities

import { Geometry } from "https://vimtaai.github.io/agent/lib/utils.js"
Geometry.convertDegreesToRadians(30);
// -- OR --
import { convertDegreesToRadians } from "https://vimtaai.github.io/agent/lib/utils.js";
convertDegreesToRadians(30);

Functions

convertDegreesToRadians(angleInDegrees: number)

Converts the given angle in degrees to radians

convertRadiansToDegrees(angleInRadians: number)

Converts the given angle in radians to degrees