Evaluated the following expressions to either values.

pull/3249/head
Hanif Bin Ariffin 2020-05-28 19:20:54 -04:00
parent 1427e67b54
commit d4ca91f408
1 changed files with 6 additions and 3 deletions

View File

@ -72,9 +72,12 @@ namespace o3dgc
unsigned char mask = bstream.ReadUChar(m_iterator, m_streamType); unsigned char mask = bstream.ReadUChar(m_iterator, m_streamType);
ifs.SetCCW ((mask & 1) == 1); ifs.SetCCW ((mask & 1) == 1);
ifs.SetSolid ((mask & 2) == 1); // (mask & 2) == 1
ifs.SetConvex ((mask & 4) == 1); ifs.SetSolid (false);
ifs.SetIsTriangularMesh((mask & 8) == 1); // (mask & 4) == 1
ifs.SetConvex (false);
// (mask & 8) == 1
ifs.SetIsTriangularMesh(false);
//bool markerBit0 = (mask & 16 ) == 1; //bool markerBit0 = (mask & 16 ) == 1;
//bool markerBit1 = (mask & 32 ) == 1; //bool markerBit1 = (mask & 32 ) == 1;
//bool markerBit2 = (mask & 64 ) == 1; //bool markerBit2 = (mask & 64 ) == 1;