[brlcad-commits] SF.net SVN: brlcad:[54265] brlcad/trunk/src/other/libvds/vds.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <n_...@us...> - 2013-01-31 17:00:03
|
Revision: 54265 http://brlcad.svn.sourceforge.net/brlcad/?rev=54265&view=rev Author: n_reed Date: 2013-01-31 16:59:56 +0000 (Thu, 31 Jan 2013) Log Message: ----------- remove use of bit field with vdsNodeStatus; bit field support for enum types is compiler specific Modified Paths: -------------- brlcad/trunk/src/other/libvds/vds.h Modified: brlcad/trunk/src/other/libvds/vds.h =================================================================== --- brlcad/trunk/src/other/libvds/vds.h 2013-01-31 16:49:00 UTC (rev 54264) +++ brlcad/trunk/src/other/libvds/vds.h 2013-01-31 16:59:56 UTC (rev 54265) @@ -125,9 +125,9 @@ */ typedef struct _vdsNode { /* 3 bitfields (32 bits total): */ - int depth: 16; /* depth of node in vertex tree */ - int nsubtris: 14; /* size of node->subtris[] array*/ - vdsNodeStatus status: 2; /* is node currently active? */ + char depth; /* depth of node in vertex tree */ + int nsubtris; /* size of node->subtris[] array*/ + vdsNodeStatus status; /* is node currently active? */ vdsBoundingVolume bound; /* bounding volume of triangles * * supported by the node */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |