CSharpGL.Demos.HemisphereLightingRenderer.HemisphereLightingRenderer C# (CSharp) Method

HemisphereLightingRenderer() private method

private HemisphereLightingRenderer ( IBufferable model, ShaderCode shaderCodes, AttributeMap attributeMap, string positionNameInIBufferable ) : System
model IBufferable
shaderCodes ShaderCode
attributeMap AttributeMap
positionNameInIBufferable string
return System
        private HemisphereLightingRenderer(IBufferable model, ShaderCode[] shaderCodes,
            AttributeMap attributeMap, string positionNameInIBufferable,
            params GLState[] switches)
            : base(model, shaderCodes, attributeMap, positionNameInIBufferable, switches)
        {
            this.LightPosition = new vec3(0, 2, 0);
            this.SkyColor = new vec3(1, 0, 0);
            this.GroundColor = new vec3(0, 1, 0);
        }