Abs

function

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

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

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