BBMOD_Vec2.Clamp

A function defined in BBMOD_Vec2.gml

Clamp(_min, _max)

Description

Clamps each component of the vector between corresponding components of _min and _max and returns the result as a new vector.

Arguments

Name Type Description
_min Struct.BBMOD_Vec2 A vector with minimum components.
_max Struct.Struct.BBMOD_Vec2 A vector with maximum components.

Returns

Struct.BBMOD_Vec2 The resulting vector.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.