<commit_before>﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;

namespace CSharpGL
{
    /// <summary>
    /// camera, canvas, renderers.
    /// rendering, picking.
    /// </summary>
    public partial class Scene
    {
        /// <summary>
        /// 
        /// </summary>
        public ICamera Camera { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public IGLCanvas Canvas { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public RendererBase RootElement { get; set; }

        private vec4 clearColor = new vec4(0.0f, 0.0f, 0.0f, 1.0f);
        /// <summary>
        /// 
        /// </summary>
        public vec4 ClearColor
        {
            get { return clearColor; }
            set { this.clearColor = value; }
        }

        /// <summary>
        /// Ambient light color.
        /// </summary>
        public vec3 AmbientLight { get; set; }

        /// <summary>
        /// camera, canvas, renderers.
        /// rendering, picking. 
        /// </summary>
        /// <param name="camera"></param>
        /// <param name="canvas"></param>
        public Scene(ICamera camera, IGLCanvas canvas)
        {
            this.Camera = camera;
            this.Canvas = canvas;
        }
    }
}<commit_msg>lights in scene<commit_after>﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;

namespace CSharpGL
{
    /// <summary>
    /// camera, canvas, renderers.
    /// rendering, picking.
    /// </summary>
    public partial class Scene
    {
        /// <summary>
        /// 
        /// </summary>
        public ICamera Camera { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public IGLCanvas Canvas { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public RendererBase RootElement { get; set; }

        private vec4 clearColor = new vec4(0.0f, 0.0f, 0.0f, 1.0f);
        /// <summary>
        /// 
        /// </summary>
        public vec4 ClearColor
        {
            get { return clearColor; }
            set { this.clearColor = value; }
        }

        /// <summary>
        /// Ambient light color.
        /// </summary>
        public vec3 AmbientLight { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<LightBase> Lights { get; private set; }

        /// <summary>
        /// camera, canvas, renderers.
        /// rendering, picking. 
        /// </summary>
        /// <param name="camera"></param>
        /// <param name="canvas"></param>
        public Scene(ICamera camera, IGLCanvas canvas)
        {
            this.Camera = camera;
            this.Canvas = canvas;

            this.Lights = new List<LightBase>();
        }
    }
}
{'fraction_non_alphanumeric': 0.14991423670668955, 'fraction_numerical': 0.00823327615780446, 'mean_word_length': 1.325358851674641, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '3184960', 'n_tokens_mistral': 849, 'n_tokens_neox': 819, 'n_words': 203}