Browse Source

Some misspellins caught in text

Josip Miskovic 4 years ago
parent
commit
00e5ad79d7

File diff suppressed because it is too large
+ 3 - 3
api/init.lua


+ 2 - 2
api/lovr/audio/newMicrophone.lua

@@ -2,8 +2,8 @@ return {
   tag = 'microphones',
   summary = 'Create a new Microphone.',
   description = [[
-    Creates a new Microphone based on the name of an existing micrphone and a set of capture
-    parameters.  If the specified combination of prameters are not supported for audio capture,
+    Creates a new Microphone based on the name of an existing microphone and a set of capture
+    parameters.  If the specified combination of parameters are not supported for audio capture,
     `nil` will be returned.
   ]],
   arguments = {

+ 1 - 1
api/lovr/data/AudioStream/append.lua

@@ -10,7 +10,7 @@ return {
 
     If a call to `append` would make the internal buffer of this `AudioStream` to become bigger
     than the `queueLimit` set on this AudioStream when it was constructed, that call to `append`
-    will ignore your blob and return false, queueing no data at all from that call.
+    will ignore your blob and return false, queuing no data at all from that call.
 
     After you've created a Source with your raw AudioStream, and appended enough audio data,
     remember to call `Source:play` to make the `Source` start playing your queued data. If the

+ 1 - 1
api/lovr/graphics/Font/getRasterizer.lua

@@ -1,6 +1,6 @@
 return {
   summary = 'Get the underlying Rasterizer.',
-  description = 'Returns the underyling `Rasterizer` object for a Font.',
+  description = 'Returns the underlying `Rasterizer` object for a Font.',
   arguments = {},
   returns = {
     {

+ 1 - 1
api/lovr/graphics/Model/getNodePose.lua

@@ -14,7 +14,7 @@ return {
       type = 'CoordinateSpace',
       default = 'global',
       description = [[
-        Whether the pose sould be returned relative to the node's parent or relative to the root
+        Whether the pose should be returned relative to the node's parent or relative to the root
         node of the Model.
       ]]
     }

+ 2 - 2
api/lovr/graphics/getColorMask.lua

@@ -2,8 +2,8 @@ return {
   tag = 'graphicsState',
   summary = 'Get whether each color channel is enabled.',
   description = [[
-    Returns a boolean for each color channel (red, green, blue, alpha) indiciating whether it is
-    enabled.  When a color channel is enabled, it will be affected by drawing commmands and clear
+    Returns a boolean for each color channel (red, green, blue, alpha) indicating whether it is
+    enabled.  When a color channel is enabled, it will be affected by drawing commands and clear
     commands.
   ]],
   arguments = {},

+ 1 - 1
api/lovr/graphics/newShader.lua

@@ -72,7 +72,7 @@ return {
       needs a skeleton to work properly and is slower than normal rendering.
     - `alphaCutoff` is a numeric flag that can be used to implement simple "cutout" style
       transparency, where pixels with alpha below a certain threshold will be discarded.  The value
-      of the flag should be a number between 0.0 and 1.0, representing the alpha treshold.
+      of the flag should be a number between 0.0 and 1.0, representing the alpha threshold.
     - `uniformScale` is a boolean flag used for optimization.  If the Shader is only going to be
       used with objects that have a *uniform* scale (i.e. the x, y, and z components of the scale
       are all the same number), then this flag can be set to use a faster method to compute the

+ 1 - 1
api/lovr/graphics/setColorMask.lua

@@ -3,7 +3,7 @@ return {
   summary = 'Enable or disable color channels.',
   description = [[
     Enables and disables individual color channels.  When a color channel is enabled, it will be
-    affected by drawing commmands and clear commands.
+    affected by drawing commands and clear commands.
   ]],
   arguments = {
     {

+ 1 - 1
api/lovr/physics/World/disableCollisionBetween.lua

@@ -1,7 +1,7 @@
 return {
   tag = 'worldCollision',
   summary = 'Disable collision between two tags.',
-  description = 'Disables collision between two collison tags.',
+  description = 'Disables collision between two collision tags.',
   arguments = {
     {
       name = 'tag1',

+ 1 - 1
api/lovr/physics/World/enableCollisionBetween.lua

@@ -1,7 +1,7 @@
 return {
   tag = 'worldCollision',
   summary = 'Enable collision between two tags.',
-  description = 'Enables collision between two collison tags.',
+  description = 'Enables collision between two collision tags.',
   arguments = {
     {
       name = 'tag1',

+ 1 - 1
api/lovr/physics/World/update.lua

@@ -9,7 +9,7 @@ return {
     {
       name = 'dt',
       type = 'number',
-      description = 'The amount of time to advance the simultion forward.'
+      description = 'The amount of time to advance the simulation forward.'
     },
     {
       name = 'resolver',

Some files were not shown because too many files changed in this diff