Draw vector/line from model

I have a use case where I have a number of vectors that I need to draw upon a GLTF model. These vectors are defined in the “model frame”, essentially unit vectors indicating the direction of various measurements, such as the magnetic field of the earth as as seen by the model. Any recommendations for how to do this? It would be great if I could avoid having to pre-compute the transformed ECEF positions of the start/stop of these vectors, as they are natively in the “body” frame of the model. I may experiment with using a tick callback and the modelMatrix to perform the transform, but I was hoping there might be a better way where I could just provide the vectors in the model coordinate frame.

This is similar to what I am trying to achieve: Drawing a line from a 3D model based on the 3D model's orientation

Thanks for your advice.