1
0
mirror of https://github.com/ssloy/tinyraytracer.git synced 2025-08-19 20:41:26 +02:00

Update Readme.md

This commit is contained in:
Dmitry V. Sokolov
2019-02-04 17:23:45 +01:00
committed by GitHub
parent fd4c4cdbde
commit b9d2ca707b

View File

@@ -1,8 +1,18 @@
# compilation ![](https://raw.githubusercontent.com/ssloy/tinyraytracer/autostereogram/doc/autostereogram.jpg)
## compilation
```sh
git clone https://github.com/ssloy/tinyraytracer.git git clone https://github.com/ssloy/tinyraytracer.git
cd tinyraytracer cd tinyraytracer
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
make make
```
You can open the project in Gitpod, a free online dev evironment for GitHub:
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ssloy/tinyraytracer/tree/autostereogram)
On open, the editor will compile & run the program as well as open the resulting image in the editor's preview.
Just change the code in the editor and rerun the script (use the terminal's history) to see updated images.