ortho

function

ortho()

Description

Returns a new orthogonal vector

Returns

vec2 Returns a new orthogonal vector.

Example

vec1 = new Vec2(1, 2);
show_debug_message(vec1.ortho()); // Result: { x : 2, y : -1 }

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