]> git.mxchange.org Git - simgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Sun, 3 Dec 2006 17:02:40 +0000 (17:02 +0000)
committerfrohlich <frohlich>
Sun, 3 Dec 2006 17:02:40 +0000 (17:02 +0000)
simgear/scene/util/SGNodeMasks.hxx: Add pickable bit

simgear/scene/util/SGNodeMasks.hxx

index f89f7f2f9ab68d8e56f0663a521f441b79e66f82..315d73fc1311c4a1b4fb4e6527774e15d3d6627d 100644 (file)
 #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