예제 #1
0
파일: Shape.cs 프로젝트: bhouston/q-tracer
 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>();
 }