BBMOD_Vec3.Clamp

A function defined in BBMOD_Vec3.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_Vec3 A vector with minimum components.
_max Struct.BBMOD_Vec3 A vector with maximum components.

Returns

Struct.BBMOD_Vec3 The resulting vector.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.