Use the standard library swap() function instead
Implement raycasting with cylinder shape