unit_x

function

unit_x()

Description

Creates a Vec3 with values { x: 1, y: 0, z : 0 }.

Returns

vec3 self

Example

vec1 = new Vec3().unit_x();
show_debug_message(vec1);  // Result: { x : 1, y : 0, z : 0 }

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