Other than it being late when I posted, I dont know why i didnt specify why i was doing it.
I'm calculating a dot product of two vectors to determine if two polygons are heading away from each other. So the negative bit is the important part.
I like conditional assignments better than straight if(), but really, its a fork in programming and if I can skip them for a singular line of code, I want to.
but it still beats casting to an array of bytes, doesnt it?
if there is not a more efficient way than the conditional structure, I will use that. Partly I am questing to learn alternate ways of doing things.
Its just for my own personal use!
_________________
davidred wrote...
I installed Ubuntu once and it completely destroyed my paying relationship with Microsoft.