BBMOD_Vec4.Abs

A function defined in BBMOD_Vec4.gml

Abs()

Description

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

Returns

Struct.BBMOD_Vec4 The created vector.

Example

// => BBMOD_Vec4(1.0, 2.0, 3.0, 4.0):
new BBMOD_Vec4(-1.0, 2.0, -3.0, 4.0).Abs();
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.