[Solved] How to align bullet to gun?

       So I got my bullets spawning in the center of my character according to where it pointing right? Now I cant figure out how the diddly to align it not in the center. I want the bullets to spawn in front of my gun that is offset a bit. Changing anything in this formula shifts the location of the radius as a whole.
@Override
	public void fireWeapon() {
		float radians =  (float) Math.toRadians(playerMaster.getDirection());
		float gunPosX =  (float) (32 * Math.cos(radians) + weaponPosition.x + 32);
		float gunPosY =  (float) (32 * Math.sin(radians) + weaponPosition.y + 32);

		bulletList.add(new Bullet(gunPosX, gunPosY, playerMaster.getDirection(), playerMaster));
	}

If you could please explain the math that would be awesome, thank you.