I have a 2d shape and i create a 3d extrusion on direction 0 0 1( i must do the extrusion on z axis for personal stuff, i can't use directly the extrusion direction).
Now i wish rotate the 3d extrusion solid by the extrusion direction.
How i can create a rotation matrix based on the extrusion direction?
I must first find the extrusion angle? but in which plane i must calculate the angle and in which plane is the extrusion axis?
this is an image