コード例 #1
0
ファイル: RaytraceWorker.cs プロジェクト: EgorDm/UU_Raytracer
 public RaytraceWorker(RaytraceMotherBee mother, int startRow, int endRow)
 {
     StartRow   = startRow;
     CurrentRow = StartRow;
     EndRow     = endRow;
     WorkID     = mother.WorkID;
     Mother     = mother;
 }
コード例 #2
0
ファイル: Window.cs プロジェクト: EgorDm/UU_Raytracer
 public Window(Size size)
 {
     ClientSize = size;
     Projection = new ProjectionPlane();
     World      = new World(new Camera(new Vector3(0, 1, 0), Quaternion.Identity));
     MotherBee  = new RaytraceMotherBee(new Raytracer(), Raster);
     Settings.FastMediumQualityPreset();
 }
コード例 #3
0
 public RaytraceWorker(RaytraceMotherBee mother, int startRow, int endRow, bool half)
 {
     StartRow   = startRow;
     CurrentRow = StartRow;
     EndRow     = endRow;
     WorkID     = mother.WorkID;
     Mother     = mother;
     this.half  = half;
 }