uhm, the array/pointer thing:
consider this:
Next on, my 'image' is simply an array of such MyPixel instances, like i[width*height], so normally I access my red pixels with i[x+width*y].r .
How to apply that array/pointer thing on that structure?
consider this:
Type MyPixel Field r:int Field g:int Field b:int End Type
Next on, my 'image' is simply an array of such MyPixel instances, like i[width*height], so normally I access my red pixels with i[x+width*y].r .
How to apply that array/pointer thing on that structure?