I think g is already a pointer,I roughly understand how to return a gradient,But I still don’t understand what the gradient does?
I think g is already a pointer,I roughly understand how to return a gradient,But I still don’t understand what the gradient does?