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

x/remapper/src/deps.ts>three.Matrix4#makeRotationAxis

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

Sets this matrix as rotation transform around axis by angle radians. Based on http://www.gamedev.net/reference/articles/article1199.asp.

Parameters

axis: Vector3

Rotation axis.

angle: number

Rotation angle in radians.