Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - thisismyroad

Pages: [1]
1
Graphics / Re: Invert y-axis of View and rotation
« on: July 29, 2014, 05:50:22 pm »
Awesome -- just what I wanted to know! Thanks very much for your time!  :D

2
Graphics / Invert y-axis of View and rotation
« on: July 29, 2014, 04:09:33 pm »
Hi!

Just a quick question; is there a way to invert a View vertically (e.g. View::setSize(width, -height)) but still have the getTransform() function return a Transform that is rotated the same way it would have been when having a non-negative height value?

I know you can achieve this through using Sprites and/or VertexArrays + transformations but am just curious if this is possible with the View class. I'm currently a complete scrub when it comes to matrix math so please forgive me if I asked something incredibly stupid!

Thanks!

Pages: [1]