Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int x = 0; x < heightmap->w; x++)
- {
- Uint32 *pixels = (Uint32 *)heightmap->pixels;
- Uint32 l = pixels[ ( x * heightmap->w ) + x ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement