GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: Add Line Numbers


fix0r by statler
                    if ((x-1>0) && ((y/3)+1 < texsize))         { total+=texmap1[adress(x-1,y+1)+l]; summanden+=1.0f; };
                    if ((y/3)+1 < texsize)                      { total+=texmap1[adress(x,y+1)  +l]; summanden+=1.0f; };
                    if ((x+1<texsize) && ((y/3)+1 < texsize-2)) { total+=texmap1[adress(x+1,y+1)+l]; summanden+=1.0f; };