Thursday, November 09, 2006

Rotation

Here's a funny bug someone had:



They were wondering why the image on the billboard was being scaled in and out. The reason here is that the size of the image is actually increasing as it is rotated. The corners make the rectangle larger but the billboard stays the same size so there's an implicit scale operation to make it all fit.



The way to fix it, is to either vary the width of the billboard using the dimensions of the image or to rotate the billboard itself.

1 comment:

Jessie K. said...

wow, that's really cool! way to problem solve :-*