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

x/remapper/src/deps.ts>three.Vector2#roundToZero

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

The components of the vector are rounded towards zero (up if negative, down if positive) to an integer value.