when i want to implement some modeling transform, i want to know wether there are different implement order below:
the first method is using remember and go back way:
the second is transforming directly:
are they different or not?
i do not really get what you mean
in the first example you push the matrix to the stack and read it back after rotation meaning that it should be like it was before rotating
in the second you do not set the matrix back meaning that all following transformations are working on your rotated system
and of course once you rotate about 72° and once about 72°*i
sorry, sometime, I wonder that transforming models directly may has a different implement order from transforming them using matrix stack, that means, if I transform a model directly:
then the implement order is rotate first then translate
if I use matrix stack,
the implement order is translate first then rotate.
I just suspect these two ways may have different implement order, but now I find I was wrong, the implement order should has nothing with using matrix stack or not.