//Counteract the base station yaw to get back to absolute razer coordinates
originOffset.rotateAroundY(-baseStationYawOffset*PIOVER180);
// save raw - originOffset as origin. That way, when origin is subtracted in the future,
// positions very close to the current location+orientation will have the eye in the correct spot
origin = originOffset.subtract(raw);
resetOrigin = false;
}
// Rotate the centre eye position around any world yaw offset (mouse/controller induced rotation)