BBMOD_Vec3.Minimize

A function defined in BBMOD_Vec3.gml

Minimize(_v)

Description

Creates a new vector where each component is the minimum component from this vector and vector _v.

Arguments

Name Type Description
_v Struct.BBMOD_Vec3 The other vector.

Returns

Struct.BBMOD_Vec3 The created vector.

Example

var _v1 = new BBMOD_Vec3(1.0, 4.0, 5.0);
var _v2 = new BBMOD_Vec3(2.0, 3.0, 6.0);
var _vMin = _v1.Minimize(_v2); // Equals to BBMOD_Vec3(1.0, 3.0, 5.0)
Do you find this page helpful?

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