Found a bit of motivation to work on editor a bit again.
I was bored. So i took old picking code and copy-pasted this to my latest editor source.
Works fine as it did previously. I wish i could make other things work so easily (by just copy pasting).
I don't have very much motivation to actually work on the flat faces again, there are few to add..
I will add selection boxes in. I actually had working implementation that drew them very nicely.
Will try to copy paste as much as i can. I had problems with selection going negative, i thought that glTranslatef will not accept negative values, but actually it did. Dunno where i stopped.
But the code had some neat things already implemented so i will not reinvent it again, there is no point if it works.
Bookmarks