/// <summary> /// Constructor for Plane /// </summary> /// <param name="n">The normal of the plane.</param> /// <param name="q">A point on the plane.</param> public Plane(Vector3D n, Vector3D q) { m_Normal = n; m_Point = q; m_Normal.Normalize(); Material = new SolidColor(64, 64, 64); }
public Square(Vector3D n, Vector3D q, int width, int height) : base(n, q) { size = new Size(width, height); Material = new SolidColor(64, 64, 128); }