mirror of https://github.com/bjornbytes/lovr.git
Update README;
This commit is contained in:
parent
5b9b007f18
commit
3c3cc44136
15
README.md
15
README.md
|
@ -10,7 +10,7 @@ In a directory called `myGame`, create a file called `main.lua`:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function lovr.update(dt)
|
function lovr.update(dt)
|
||||||
print(lovr.headset:getPosition())
|
print(lovr.headset.getPosition())
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,15 +25,24 @@ Dependencies
|
||||||
---
|
---
|
||||||
|
|
||||||
- LuaJIT
|
- LuaJIT
|
||||||
- GLFW (3.2) and OpenGL 4
|
- GLFW (3.2) and OpenGL (3.2)
|
||||||
- assimp
|
- assimp
|
||||||
- OSVR
|
- OSVR
|
||||||
|
|
||||||
Compiling (CMake)
|
Compiling
|
||||||
---
|
---
|
||||||
|
|
||||||
|
CMake:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
```
|
```
|
||||||
|
|
||||||
|
tup (OSX only):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
tup
|
||||||
|
./lovr
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue