Use `a_Kind` (note the capital K) and use a `const Vector3d &` for the shoot direction vector.