This should probably be a method on the vector class (coords.Vec3). To make it also available on the world coordinate class, you can use struct embedding.