示例#1
0
 public Sphere(SphereMaterial sp)
     : base(sp)
 {
     this.center = sp.Center;
     this.radius = sp.Radius;
     normals     = new Dictionary <Point3, Vector3>();
 }
示例#2
0
文件: Shape.cs 项目: qrush/q-tracer
 public Sphere(SphereMaterial sp)
     : base(sp)
 {
     this.center = sp.Center;
      this.radius = sp.Radius;
      normals = new Dictionary<Point3, Vector3>();
 }