cmpne

function

cmpne(_vector)

Description

Performs a vertical != comparison between self and _vector.

Arguments

Name Type Description
_vector vec2 The vector to compare with.

Returns

bool Result of the equation.

Example

vec1 = new Vec2(10, 5);
vec2 = new Vec2(10, 5);
vec3 = new Vec2(5, 2);
show_debug_message(vec1.cmpne(vec2)); // Result: false
vec2.sub(vec3);
show_debug_message(vec1.cmpne(vec2)); // Result: true

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