Clamp

function

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 BBMOD_Vec3 A vector with minimum components.
_max BBMOD_Vec3 A vector with maximum components.

Returns

BBMOD_Vec3 The resulting vector.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.