Original Post
I want to make a function that accepts flags for a particle engine I'm working on, except I'm not sure how and my Google-fu sucks today so I've not found anything useful... there might not be any difference but heck, I'm not designing code until I know how for sure. I just want something like this: enum stretchParticle_ { STRETCH_X, STRETCH_Y, STRETCH_Z }; void stretchParticle(flagType flag); and then pass something like stretchParticle(STRETCH_X | STRETCH_Y); -Aura