예제 #1
0
 public void SetFlag(MeshFlag flag, bool value)
 {
     MeshFlags = Bitmask.SetBitTo(MeshFlags, (int)flag, value ? 1 : 0);
 }
예제 #2
0
        // Flags

        public bool ContainsFlag(MeshFlag flag)
        {
            return(Bitmask.CheckBit(MeshFlags, (int)flag));
        }