Abs

function

Abs()

Description

Creates a new vector where each component is equal to the absolute value of the original component.

Returns

Struct.BBMOD_Vec2 The created vector.

Example

new BBMOD_Vec2(-1.0, 2.0).Abs() // => BBMOD_Vec2(1.0, 2.0)
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.