diff options
Diffstat (limited to 'meta/3rd')
-rw-r--r-- | meta/3rd/lovr/library/lovr/headset.lua | 10 | ||||
-rw-r--r-- | meta/3rd/lovr/library/lovr/math.lua | 4 |
2 files changed, 2 insertions, 12 deletions
diff --git a/meta/3rd/lovr/library/lovr/headset.lua b/meta/3rd/lovr/library/lovr/headset.lua index 616a05ab..caa0cbe8 100644 --- a/meta/3rd/lovr/library/lovr/headset.lua +++ b/meta/3rd/lovr/library/lovr/headset.lua @@ -135,16 +135,6 @@ function lovr.headset.getDisplayFrequency() end function lovr.headset.getDisplayHeight() end --- ----Returns 2D triangle vertices that represent areas of the headset display that will never be seen by the user (due to the circular lenses). ---- ----This area can be masked out by rendering it to the depth buffer or stencil buffer. ---- ----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. ---- ----@return table points # A table of points. Each point is a table with two numbers between 0 and 1. -function lovr.headset.getDisplayMask() end - ---- ---Returns the width of the headset display (for one eye), in pixels. --- ---@return number width # The width of the display. diff --git a/meta/3rd/lovr/library/lovr/math.lua b/meta/3rd/lovr/library/lovr/math.lua index 73672171..b644d414 100644 --- a/meta/3rd/lovr/library/lovr/math.lua +++ b/meta/3rd/lovr/library/lovr/math.lua @@ -1140,9 +1140,9 @@ function Vec4:unpack() end ---### NOTE: ---Most LÖVR functions that accept positions, orientations, transforms, velocities, etc. also accept vector objects, so they can be used interchangeably with numbers: --- ---- function lovr.draw() +--- function lovr.draw(pass) --- -- position and size are vec3's, rotation is a quat ---- lovr.graphics.box('fill', position, size, rotation) +--- pass:box(position, size, rotation) --- end --- ---### Temporary vs. Permanent |