예제 #1
0
 /// <summary>
 /// Creates a new instance of RenderDocument class.
 /// </summary>
 public RenderDocument()
 {
     m_Renderer = new Renderer(this);
     InitializeComponent();
 }
예제 #2
0
 /// <summary>
 /// Creates instance of the RenderConfig class.
 /// </summary>
 /// <param name="parent">The renderer.</param>
 public RenderConfig(Renderer parent)
 {
     m_Parent = parent;
     m_SunDirection.Normalize();
 }