From aec8e88c14c38f36bddaaa6d4ed702adbc456c17 Mon Sep 17 00:00:00 2001 From: frohlich Date: Sun, 3 Dec 2006 17:02:40 +0000 Subject: [PATCH] Modified Files: simgear/scene/util/SGNodeMasks.hxx: Add pickable bit --- simgear/scene/util/SGNodeMasks.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5