Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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??

My website
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...