Dielectric kind of works, glass does not

This commit is contained in:
Patrick Stevens
2021-04-17 23:26:05 +01:00
parent 5c1b634539
commit 48ddcc8548
12 changed files with 328 additions and 55 deletions

View File

@@ -59,6 +59,15 @@ module Colour =
Blue = 180uy
}
let random (rand : Random) =
let buffer = Array.zeroCreate<byte> 3
rand.NextBytes buffer
{
Red = buffer.[0]
Green = buffer.[1]
Blue = buffer.[2]
}
type PixelStats =
private
{