BBMOD_Vec2.Floor

A function defined in BBMOD_Vec2.gml

Floor()

Description

Applies function floor 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).Floor() // => BBMOD_Vec2(0.0, 1.0)
Do you find this page helpful?

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