コード例 #1
0
ファイル: Sphere.cs プロジェクト: bootzin/RayTracing
 public Sphere(Pigment pigment, Finishing finishing, Vector3 center, float radius)
 {
     Center    = center;
     Radius    = radius;
     Pigment   = pigment;
     Finishing = finishing;
 }
コード例 #2
0
 public Polyhedron(Pigment pigment, Finishing finishing)
 {
     Pigment   = pigment;
     Finishing = finishing;
 }