mirror of https://github.com/bjornbytes/lovr.git
Update README;
This commit is contained in:
parent
fb6c1c28ed
commit
116701036a
14
README.md
14
README.md
|
@ -25,6 +25,20 @@ end
|
||||||
|
|
||||||
Drag the `myGame` folder onto a shortcut to `lovr.exe`. You should see a spinning purple cube!
|
Drag the `myGame` folder onto a shortcut to `lovr.exe`. You should see a spinning purple cube!
|
||||||
|
|
||||||
|
#### 3D Models
|
||||||
|
|
||||||
|
LÖVR supports most 3D model file formats:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
function lovr.load()
|
||||||
|
model = lovr.graphics.newModel('teapot.fbx')
|
||||||
|
end
|
||||||
|
|
||||||
|
function lovr.draw()
|
||||||
|
model:draw()
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
Supported Hardware
|
Supported Hardware
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue