コード例 #1
0
ファイル: Raytracer.cs プロジェクト: fjgandrade/sharpkit
 public Plane(Vector norm, double offset, Surface surface) 
 {
     this.norm = norm;
     this.offset = offset;
     this.surface = surface;
 }
コード例 #2
0
ファイル: Raytracer.cs プロジェクト: fjgandrade/sharpkit
 public Sphere(Vector center, double radius, Surface surface) 
 {
     this.center = center;
     this.radius2 = radius * radius;
     this.surface = surface;
 }