So I was trying to have a generic body class so it could represent the body of all my objects for some simulation but then this happened :
void display()
{
shapeMode(CENTER);
shape(body, 50, 50, 100, 100); // this doesn't work
shape(body, 350, 350); // this works
}
I tried some different formatting but everytime with x and y it works even without them but if I try with a b c d it doesn’t work anymore, the program runs but doens’t print anything. What have I done wrong ?