mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
cleanup
This commit is contained in:
parent
9218ba8fe6
commit
a3cc55c20d
4 changed files with 0 additions and 29 deletions
2
.merlin
2
.merlin
|
|
@ -1,2 +0,0 @@
|
|||
S src
|
||||
PKG core
|
||||
9
Makefile
9
Makefile
|
|
@ -1,9 +0,0 @@
|
|||
build:
|
||||
ocamlbuild -use-ocamlfind -package core -tag thread -I src/ raytracer.native
|
||||
chmod +x raytracer.native
|
||||
clean:
|
||||
ocamlbuild -clean
|
||||
rm out.ppm
|
||||
display: build
|
||||
./raytracer.native
|
||||
display out.ppm
|
||||
18
README.md
18
README.md
|
|
@ -1,18 +0,0 @@
|
|||
# rayml
|
||||
|
||||

|
||||
|
||||
A raytracer written in OCaml. It supports diffuse("matte") and
|
||||
reflective("metallic") surfaces.
|
||||
|
||||
The design of the software roughly follows Peter Shirley's mini-book
|
||||
series [Raytracing in One Weekend][weekend] which presents a raytracer
|
||||
in C++. I've adopted the programming style to suit OCaml's functional
|
||||
style.
|
||||
|
||||
## Usage
|
||||
|
||||
You need to have OCaml installed. Running `make display` will compile
|
||||
the program and renders the hard-coded scene displayed above.
|
||||
|
||||
[weekend]: http://in1weekend.blogspot.com/2016/01/ray-tracing-in-one-weekend.html
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 73 KiB |
Loading…
Add table
Reference in a new issue