Hey,
Is it possible to get the magnitude of a Vec3??
/
Hey,
Is it possible to get the magnitude of a Vec3??
/
Yes. Use v.length(). It must be a Vec3(), which represents a vector direction, not a Point3() which represents a point in space or a VBase3() which is just a general 3-component value.
If you have one of the other types, you can wrap a Vec3 around it: Vec3(v).length().
David