# How to scale major and minor radius of a quarter torus

I am dealing with quarter tori as in the image below. My issue is that I need to be able to scale its major radius and minor radius separately using a scale matrix. However, when I use a regular transformation matrix like:

    scaleX, 0, 0, 0,
0, scaleY, 0, 0,
0, 0, scaleZ, 0,
0, 0, 0, 1;


It scales both radiuses. Is there a way I can do this separately? I can't get my head around how this would be possible? Thank you in advance.

• No, you can't scale them separately using a transformation matrix. You have to generate new geometry. – Ocelot Jun 25 at 10:24
• Thank you. Unfortunately i must use matrices in this scenario but it is good to know that it is not possible. – Ali Kanat Jun 25 at 10:57