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.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@2.1.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.