hog Posted December 6, 2003 Posted December 6, 2003 I know I should know this, but..... What does mutally exclusive mean? Quote My website
Administrators PlausiblyDamp Posted December 6, 2003 Administrators Posted December 6, 2003 One or the other - but not both. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
hog Posted December 6, 2003 Author Posted December 6, 2003 So in the following; Public Const FVF_CUSTOMVERTEX As VertexFormats = VertexFormats.Transformed Or VertexFormats.Texture1 What does this mean? If one or the other why Or them?? Quote My website
Administrators PlausiblyDamp Posted December 6, 2003 Administrators Posted December 6, 2003 Different thing, VertexFormats.Transformed and VertexFormats.Texture1 are two seperate bit flags. That line of code is doing a binary OR on them - the result is both options will be set. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Jay1b Posted December 7, 2003 Posted December 7, 2003 Or alternatively OR 1....1 = 1 1....0 = 1 0....1 = 1 0....0 = 0 Mutually Exclusive 1....1 = 0 1....0 = 1 0....1 = 1 0....0 = 0 If i remember correctly its created by (x OR y) AND (NOT(x AND y)) I am sure thats right. If in doubt, play around with it, trying it with: x = 1, y = 1 x = 0, y = 1 x = 1, y = 0 x = 0, y = 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.