예제 #1
0
파일: MathNode.cs 프로젝트: mcneel/CCSycles
        public MathNode(string name) :
            base(ShaderNodeType.Math, name)
        {
            inputs  = new MathInputs(this);
            outputs = new MathOutputs(this);

            Operation        = Operations.Add;
            ins.Value1.Value = 0.0f;
            ins.Value2.Value = 0.0f;
        }
예제 #2
0
파일: MathNode.cs 프로젝트: peca3d/CCSycles
        public MathNode(string name)
            : base(ShaderNodeType.Math, name)
        {
            inputs = new MathInputs(this);
            outputs = new MathOutputs(this);

            Operation = Operations.Add;
            ins.Value1.Value = 0.0f;
            ins.Value2.Value = 0.0f;
        }