diff options
| author | jussi | 2022-06-19 12:18:09 +0300 |
|---|---|---|
| committer | jussi | 2022-06-19 12:18:09 +0300 |
| commit | 1529202e26a02461708784d8830475261893a537 (patch) | |
| tree | 134f627a4eb131f1daf0b3541fe925b7e5bcc6fb /API.md | |
| parent | 7b26e0aa68fb45612083b8e6b5c970564804803d (diff) | |
| download | reilua-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.md | 26 |
1 files changed, 24 insertions, 2 deletions
@@ -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 + +--- |
