Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* walk the origin around the lightmap */
- int xIncrement = MAX(1, lm->w / 15);
- int yIncrement = MAX(1, lm->w / 15);
- for ( y = 0; y < yMax; y += yIncrement )
- {
- for ( x = 0; x < xMax; x += xIncrement )
- {
- /* find a fine tract of lauhnd */
- ok = TestOutLightmapStamp( lm, lightmapNum, olm, x, y );
- if ( ok ) {
- break;
- }
- }
- if ( ok ) {
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement