BBMOD_Vec2.AbsSelf

A function defined in BBMOD_Vec2.gml

AbsSelf()

Description

Sets each component to its absolute value.

Returns

Struct.BBMOD_Vec2 Returns self.

Example

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

Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.