Function classicube_sys::Vec3_LengthSquared

source ยท
pub fn Vec3_LengthSquared(v: &Vec3) -> c_float
Expand description

Returns the squared length of the vector. Squared length can be used for comparison, to avoid a costly sqrt() However, you must sqrt() this when adding lengths.