I am doing a raytracing and it is going pretty well, I introduced 4 differents shapes (square, triangle, plane, sphere). Now I need to introduce a cylinder but I am facing a problem on it. All the documentations I find are starting with the assumption
it is aligned with the Z axis
Which is not my case here ! My cylinder is defined by a point, a width, a height and a rotation. I started researching but all the solutions imply that the cylinder is aligned with an axis and I can not find how to use it.