Can you change these to `Cartesian3`? This is one of those cases where we don't care about the `w` component. This probably only worked because the `w` will be `0.0` after the subtraction and won't affect the magnitude.