cmpge

function

cmpge(_vector)

Description

Performs a vertical >= comparison between self and _vector.

Arguments

Name Type Description
_vector vec3 The vector to compare with.

Returns

bool Result of the equation.

Example

vec1 = new Vec3(10, 5, 10);
vec2 = new Vec3(10, 6, 10);
vec3 = new Vec3(0, 2, 0);
show_debug_message(vec1.cmpge(vec2)); // Result: false
vec1.add(vec3);
show_debug_message(vec1.cmpge(vec2)); // Result: true

Copyright © 2020, eL-Falso. Built on December 14, 2020 using GMDoc.