Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/mod.ts>rotatePoint

A framework for Beat Saber map scripting.
Go to Latest
function rotatePoint
Re-export
import { rotatePoint } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Rotates a point around a mathematical anchor, [0,0,0] by default.

Parameters

point: Vec3

Point to rotate.

rotation: Vec3

Rotation to apply.

optional
anchor: Vec3 = [UNSUPPORTED]

Location of the rotation anchor.