Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Scale all 2d drawing

edited February 2013 in General Posts: 3

The scale() function simply changes the perspective matrix, which leads to oddities like https://bitbucket.org/TwoLivesLeft/core/issue/8/cannot-draw-an-ellipse-with-with-or-height

Is there a way to automatically and accurately scale 2d drawings, or should I just keep writing ellipse(myscale*x, myscale*y, myscale*d) everywhere?

Tagged:

Comments

  • scale() changes the modelMatrix(), I believe the perspective and view matrix's are unchanged by any translation or scaling.

    I find scale works fine apart from the specific bug you list which is a bug with very small ellipses...

Sign In or Register to comment.