Skip to content

Commit b853f33

Browse files
committed
update 3rd-api
1 parent 456e4e9 commit b853f33

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

meta/3rd/lovr/library/lovr/headset.lua

-10
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,6 @@ function lovr.headset.getDisplayFrequency() end
134134
---@return number height # The height of the display.
135135
function lovr.headset.getDisplayHeight() end
136136

137-
---
138-
---Returns 2D triangle vertices that represent areas of the headset display that will never be seen by the user (due to the circular lenses).
139-
---
140-
---This area can be masked out by rendering it to the depth buffer or stencil buffer.
141-
---
142-
---Then, further drawing operations can skip rendering those pixels using the depth test (`lovr.graphics.setDepthTest`) or stencil test (`lovr.graphics.setStencilTest`), which improves performance.
143-
---
144-
---@return table points # A table of points. Each point is a table with two numbers between 0 and 1.
145-
function lovr.headset.getDisplayMask() end
146-
147137
---
148138
---Returns the width of the headset display (for one eye), in pixels.
149139
---

meta/3rd/lovr/library/lovr/math.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1140,9 +1140,9 @@ function Vec4:unpack() end
11401140
---### NOTE:
11411141
---Most LÖVR functions that accept positions, orientations, transforms, velocities, etc. also accept vector objects, so they can be used interchangeably with numbers:
11421142
---
1143-
--- function lovr.draw()
1143+
--- function lovr.draw(pass)
11441144
--- -- position and size are vec3's, rotation is a quat
1145-
--- lovr.graphics.box('fill', position, size, rotation)
1145+
--- pass:box(position, size, rotation)
11461146
--- end
11471147
---
11481148
---### Temporary vs. Permanent

0 commit comments

Comments
 (0)