GLBasic forum

Feature request => 2D => Topic started by: StuC_Ovine on 2009-Sep-08

Title: glRotate and glScale
Post by: StuC_Ovine on 2009-Sep-08

Can  glRotation and glScale be set from within glBasic to be used with STARTPOLY ?


Title: Re: glRotate and glScale
Post by: Kitty Hello on 2009-Sep-13
Yes, I'm not pushing an identity before. You have to restore the matrix later, though (or call X_MAKE2D)
Title: Re: glRotate and glScale
Post by: Stu_C on 2009-Sep-13

Ok, shall give that a try.

I was actually wondering if STARTPOLY could be extended to that the rotation and scale could be called as a parameter

Im talking more of a 2D system but I suppose a 3D one too (im just being selfish)

i.e STARTPOLY  scalex, scaley, rotx, roty