I've started working with graphics and now managed to implement a fixed camera that looks at a specified point (target point) in world space. Now I wanted to implement camera movement like in Blender, so using shift + mouse I can move my camera in its local space and move it left or right (by its local X-axis) (orthogonally to the target point). And now I want to also move the target point in the same direction as the camera movement but I'm moving my camera in its local space but the target point is in the world space (different coordinate systems). So I thought that the easiest way to move the target point is to just get a unit vector by the camera local X-axis and translate it to the world coordinate system and just move the target point by this vector. But I'm not good at math and I just started working with this field and can't understand how do I translate my vector from one coordinate system to another. Help, please!
P.S. I'm talking about 3D space btw.