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
|
||||
function lovr.update(dt)
|
||||
print(lovr.headset:getPosition())
|
||||
print(lovr.headset.getPosition())
|
||||
end
|
||||
```
|
||||
|
||||
|
@ -25,15 +25,24 @@ Dependencies
|
|||
---
|
||||
|
||||
- LuaJIT
|
||||
- GLFW (3.2) and OpenGL 4
|
||||
- GLFW (3.2) and OpenGL (3.2)
|
||||
- assimp
|
||||
- OSVR
|
||||
|
||||
Compiling (CMake)
|
||||
Compiling
|
||||
---
|
||||
|
||||
CMake:
|
||||
|
||||
```sh
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
```
|
||||
|
||||
tup (OSX only):
|
||||
|
||||
```sh
|
||||
tup
|
||||
./lovr
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue