Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/general.ts>rotatePoint

A framework for Beat Saber map scripting.
Go to Latest
function rotatePoint
import { rotatePoint } from "https://deno.land/x/remapper@3.0.0/src/general.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.