//Rel is the relative coordinate in hydra reference frame
Vec3 rel = origin.subtract(raw);
//Account for hydra base station / head tracker orientation not aligned
//After this, rel is in body coordinates (relative to head tracker reference frame, not accounting for mouse-induced world yaw offset)
rel.rotateAroundY(baseStationYawOffset*PIOVER180);
//Now, compute the offset from the hydra controller to the camera location. Straight from the settings (although negated -
//vrSettings stores eye center -> hydra values for user readability. We need hydra -> eye center values here)
float hydraXOffset = -vrSettings.getPosTrackHydraOffsetX();
float hydraYOffset = -vrSettings.getPosTrackHydraOffsetY();