BBMOD_Vec4.MinimizeSelf

A function defined in BBMOD_Vec4.gml

MinimizeSelf(_v)

Description

Takes the minimum of each component of this vector and vector _v and stores it into self.

Arguments

Name Type Description
_v Struct.BBMOD_Vec4 The other vector.

Returns

Struct.BBMOD_Vec4 Returns self.

Example

var _v1 = new BBMOD_Vec4(1.0, 4.0, 5.0, 8.0);
var _v2 = new BBMOD_Vec4(2.0, 3.0, 6.0, 7.0);
_v1.MinimizeSelf(_v2); // Equals to BBMOD_Vec4(1.0, 3.0, 5.0, 7.0)
Do you find this page helpful?

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