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