I want to post some code but do not how to do it on this site?
I want to post some code but do not how to do it on this site?
Post it between [highlight=cpp]...[/highlight] or [code]...[/code] tags (note: glsl is also a valid language for the highlight tag).
Just keep in mind, the more code you post, the less chance someone is going to wade through it to try to help.