mirror of
https://github.com/Smaug123/ray-tracing-fsharp
synced 2025-10-09 22:08:39 +00:00
Fix up the dielectric, and output as PNG (#4)
This commit is contained in:
@@ -30,6 +30,7 @@ module Camera =
|
||||
|
||||
/// View angle is in radians (specified arbitrarily)
|
||||
let makeBasic
|
||||
(samplesPerPixel : int)
|
||||
(focalLength : float)
|
||||
(aspectRatio : float)
|
||||
(origin : Point)
|
||||
@@ -51,5 +52,5 @@ module Camera =
|
||||
View = view
|
||||
ViewportXAxis = xAxis
|
||||
ViewportYAxis = yAxis
|
||||
SamplesPerPixel = 60
|
||||
SamplesPerPixel = samplesPerPixel
|
||||
}
|
Reference in New Issue
Block a user