BBMOD_Vec2.Round

A function defined in BBMOD_Vec2.gml

Round()

Description

Applies function round to each component of the vector and returns the result as a new vector.

Returns

Struct.BBMOD_Vec2 The created vector.

Example

new BBMOD_Vec2(0.2, 1.6).Round() // => BBMOD_Vec2(0.0, 2.0)
Do you find this page helpful?

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