BBMOD_Vec2.Abs

A function defined in BBMOD_Vec2.gml

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 © 2024, BlueBurn. Built on April 18, 2024 using GMDoc.