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

x/remapper/src/deps.ts>three.Object3D#rotateOnAxis

A framework for Beat Saber map scripting.
Go to Latest
method three.Object3D.prototype.rotateOnAxis
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Object3D } = three;

Rotate an object along an axis in object space. The axis is assumed to be normalized.

Parameters

axis: Vector3

A normalized vector in object space.

angle: number

The angle in radians.