Hey All,
I was wondering which of the following is less expensive on memory? I noticed you can leave out the *M_PI portion and it still will work fine. Does this mean if saves some calculations as well or does it matter?
Example:
CGAffineTransformMakeRotation(0.5*M_PI);
Or other example:
CGAffineTransformMakeRotation(0.7); for example.
I would think the last example is more efficient because it doesn't have to multiply by PI or am I wrong in assuming that?
Over all I don't think either one is over powering and a big memory suck I just was curious about what is happening under the hood.