Blender V2.61 - r43446
|
#include <functional>
#include "MEM_sys_types.h"
Go to the source code of this file.
Classes | |
class | CTR_TaggedIndex< tag_shift, index_mask > |
struct | CTR_TaggedIndex< tag_shift, index_mask >::greater |
Enumerations | |
enum | { empty_tag = 0x0, empty_index = 0xffffffff } |
Definition in file CTR_TaggedIndex.h.
anonymous enum |
Copyright (C) 2001 NaN Technologies B.V. Simple tagged index class. This class is supposed to be a simple tagged index class. If these were indices into a mesh then we would never need 32 bits for such indices. It is often handy to have a few extra bits around to mark objects etc. We steal a few bits of CTR_TaggedIndex objects for this purpose. From the outside it will behave like a standard unsigned int but just carry the extra tag information around with it.
Definition at line 55 of file CTR_TaggedIndex.h.