diff options
| author | jussi | 2023-10-15 18:54:19 +0300 |
|---|---|---|
| committer | jussi | 2023-10-15 18:54:19 +0300 |
| commit | 7af7e7003131e182efb30bac8c1ff06ac1d667d6 (patch) | |
| tree | ebc0d3dec4255165da0c67853213664b5e1d8e36 /API.md | |
| parent | c3352b8ed7becfef5a175f763241d77afdf24b02 (diff) | |
| download | reilua-enhanced-7af7e7003131e182efb30bac8c1ff06ac1d667d6.tar.gz reilua-enhanced-7af7e7003131e182efb30bac8c1ff06ac1d667d6.tar.bz2 reilua-enhanced-7af7e7003131e182efb30bac8c1ff06ac1d667d6.zip | |
Renamed start, end arguments to a, b to avoid using Lua keyword end in argument names.
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3283,7 +3283,7 @@ Draw pixel within an image --- -> success = RL.ImageDrawLine( Image dst, Vector2 start, Vector2 end, Color color ) +> success = RL.ImageDrawLine( Image dst, Vector2 a, Vector2 b, Color color ) Draw line within an image @@ -4880,7 +4880,7 @@ Clamp float value --- -> result = RL.Lerp( float start, float end, float amount ) +> result = RL.Lerp( float a, float b, float amount ) Calculate linear interpolation between two floats @@ -4889,7 +4889,7 @@ Calculate linear interpolation between two floats --- -> result = RL.Normalize( float value, float start, float end ) +> result = RL.Normalize( float value, float a, float b ) Normalize input value within input range @@ -5035,7 +5035,7 @@ Calculate angle from two vectors --- -> result = RL.Vector2LineAngle( Vector2 start, Vector2 end ) +> result = RL.Vector2LineAngle( Vector2 a, Vector2 b ) Calculate angle defined by a two vectors line. NOTE: Parameters need to be normalized. |
