<commit_before>/* -*-c++-*-
 *
 * Copyright (C) 2006-2007 <NAME>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301, USA.
 *
 */

#ifndef SIMGEAR_RENDER_CONSTANTS_HXX
#define SIMGEAR_RENDER_CONSTANTS_HXX
// Constants used in the scene graph, both node masks and render bins.
namespace simgear {

enum NodeMask {
    TERRAIN_BIT = (1 << 0),
    MAINMODEL_BIT = (1 << 1),
    CASTSHADOW_BIT = (1 << 2),
    RECEIVESHADOW_BIT = (1 << 3),
    GUI_BIT = (1 << 4),
    PANEL2D_BIT = (1 << 5),
    PICK_BIT = (1 << 6),
    // Different classes of lights turned on by node masks
    GROUNDLIGHTS0_BIT = (1 << 7),
    GROUNDLIGHTS1_BIT = (1 << 8),
    GROUNDLIGHTS2_BIT = (1 << 9),
    RUNWAYLIGHTS_BIT = (1 << 10),
    LIGHTS_BITS = (GROUNDLIGHTS0_BIT | GROUNDLIGHTS1_BIT | GROUNDLIGHTS2_BIT
                   | RUNWAYLIGHTS_BIT)
};

// Theory of bin numbering:
//
// Normal opaque objects are assigned bin 0.
//
// Point lights blend with the terrain to simulate attenuation but
// should completely obscure any transparent geometry behind
// them. Also, they should be visible through semi-transparent cloud
// layers, so they are rendered before the cloud layers.<commit_msg>background node mask<commit_after>/* -*-c++-*-
 *
 * Copyright (C) 2006-2007 <NAME>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301, USA.
 *
 */

#ifndef SIMGEAR_RENDER_CONSTANTS_HXX
#define SIMGEAR_RENDER_CONSTANTS_HXX
// Constants used in the scene graph, both node masks and render bins.
namespace simgear {

enum NodeMask {
    TERRAIN_BIT = (1 << 0),
    MAINMODEL_BIT = (1 << 1),
    CASTSHADOW_BIT = (1 << 2),
    RECEIVESHADOW_BIT = (1 << 3),
    GUI_BIT = (1 << 4),
    PANEL2D_BIT = (1 << 5),
    PICK_BIT = (1 << 6),
    // Different classes of lights turned on by node masks
    GROUNDLIGHTS0_BIT = (1 << 7),
    GROUNDLIGHTS1_BIT = (1 << 8),
    GROUNDLIGHTS2_BIT = (1 << 9),
    RUNWAYLIGHTS_BIT = (1 << 10),
    LIGHTS_BITS = (GROUNDLIGHTS0_BIT | GROUNDLIGHTS1_BIT | GROUNDLIGHTS2_BIT
                   | RUNWAYLIGHTS_BIT),
    BACKGROUND_BIT = (1 << 11)
};

// Theory of bin numbering:
//
// Normal opaque objects are assigned bin 0.
//
// Point lights blend with the terrain to simulate attenuation but
// should completely obscure any transparent geometry behind
// them. Also, they should be visible through semi-transparent cloud
// layers, so they are rendered before the cloud layers.
{'fraction_non_alphanumeric': 0.09152086137281291, 'fraction_numerical': 0.02826379542395693, 'mean_word_length': 3.3411214953271027, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '396330', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1117, 'n_words': 468}