• Welcome to Dark Bit Factory & Gravity.
 

[SOLVED] Help with Vertex Mapping

Started by Omnikam, April 28, 2017

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Omnikam

Hiya Guy`s Im having a problem resizing this
glTexCoord2f_(0,0.3125) : glVertex2i_(609,20)
  glTexCoord2f_(1,0.3125) : glVertex2i_(609+32,20)
  glTexCoord2f_(1,0) : glVertex2i_(609+32,25)
  glTexCoord2f_(0,0) : glVertex2i_(609,25)


Im trying to make this quad larger, but im not sure how?

UPDATE: Ive worked it out   :updance:   GlVertex2i_(W,H)    0 is bottom left Corner
What confused me at first was the 609+32   I dont know why they didnt just code it 641?  Oh well..The 2d screen is mine  O0
Weird texture Cords in the above code