From: frohlich Date: Sun, 3 Dec 2006 17:02:40 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aec8e88c14c38f36bddaaa6d4ed702adbc456c17;p=simgear.git Modified Files: simgear/scene/util/SGNodeMasks.hxx: Add pickable bit --- diff --git a/simgear/scene/util/SGNodeMasks.hxx b/simgear/scene/util/SGNodeMasks.hxx index f89f7f2f..315d73fc 100644 --- a/simgear/scene/util/SGNodeMasks.hxx +++ b/simgear/scene/util/SGNodeMasks.hxx @@ -22,7 +22,11 @@ #ifndef SG_SCENE_NODEMASKS_HXX #define SG_SCENE_NODEMASKS_HXX -#define SG_NODEMASK_TERRAIN_BIT (2<<10) -#define SG_NODEMASK_SHADOW_BIT (2<<11) +/// If set, do terrain elevation computations with that nodes +#define SG_NODEMASK_TERRAIN_BIT (1<<0) +/// If set, cast shadows +#define SG_NODEMASK_SHADOW_BIT (1<<1) +/// If set, the node is pickable +#define SG_NODEMASK_PICK_BIT (1<<2) #endif