summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2022-06-19 12:18:09 +0300
committerjussi2022-06-19 12:18:09 +0300
commit1529202e26a02461708784d8830475261893a537 (patch)
tree134f627a4eb131f1daf0b3541fe925b7e5bcc6fb /API.md
parent7b26e0aa68fb45612083b8e6b5c970564804803d (diff)
downloadreilua-enhanced-1529202e26a02461708784d8830475261893a537.tar.gz
reilua-enhanced-1529202e26a02461708784d8830475261893a537.tar.bz2
reilua-enhanced-1529202e26a02461708784d8830475261893a537.zip
RLGL line width functions.
Diffstat (limited to 'API.md')
-rw-r--r--API.md26
1 files changed, 24 insertions, 2 deletions
diff --git a/API.md b/API.md
index b0e97ee..958e2d3 100644
--- a/API.md
+++ b/API.md
@@ -955,7 +955,7 @@ OpenGL style 4x4. Identity matrix example
> Rectangle = { 0.0, 0.0, 1.0, 1.0 } or { x = 0.0, y = 0.0, width = 1.0, height = 1.0 }
-{ x, y, w ,h }. Rectangle type
+{ x, y, width ,height }. Rectangle type
---
@@ -2264,7 +2264,7 @@ Set camera up vector ( Rotation over it's axis )
---
-> success = RL_SetCamera3DFovy( camera3D camera, Vector3 fovy )
+> success = RL_SetCamera3DFovy( camera3D camera, float fovy )
Set camera field-of-view apperture in Y ( degrees ) in perspective, used as near plane width in orthographic
@@ -4018,6 +4018,7 @@ Draw a 3d mesh with material and transform
> success = RL_DrawMeshInstanced( Mesh mesh, Material material, Matrix{} transforms, int instances )
Draw multiple mesh instances with material and different transforms
+Note! Untested.
- Failure return false
- Success return true
@@ -6015,3 +6016,24 @@ Send light properties to shader
- Success return true
---
+
+## RLGL - General render state
+
+---
+
+> success = RL_rlSetLineWidth( float width )
+
+Set the line drawing width
+
+- Failure return false
+- Success return true
+
+---
+
+> width = RL_rlGetLineWidth()
+
+Get the line drawing width
+
+- Success return float
+
+---