length_squared

function

length_squared()

Description

Calculates the square of the length of self.

Returns

real Square of the length of self.

Example

vec1 = new Vec3(1, 1, 1);
show_debug_message(vec1.length_squared()); // Result: 3

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