Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Feb 6, 2024
1 parent 06bb9eb commit d990e36
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 86 deletions.
81 changes: 52 additions & 29 deletions api/raylib.json
Original file line number Diff line number Diff line change
Expand Up @@ -3887,24 +3887,25 @@
]
},
{
"name": "GetCameraMatrix",
"description": "Get camera transform matrix (view matrix)",
"returnType": "Matrix",
"name": "GetViewRay",
"description": "Get a ray trace from mouse position in a viewport",
"returnType": "Ray",
"params": [
{
"type": "Vector2",
"name": "mousePosition"
},
{
"type": "Camera",
"name": "camera"
}
]
},
{
"name": "GetCameraMatrix2D",
"description": "Get camera 2d transform matrix",
"returnType": "Matrix",
"params": [
},
{
"type": "Camera2D",
"name": "camera"
"type": "float",
"name": "width"
},
{
"type": "float",
"name": "height"
}
]
},
Expand All @@ -3923,21 +3924,6 @@
}
]
},
{
"name": "GetScreenToWorld2D",
"description": "Get the world space position for a 2d camera screen space position",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "position"
},
{
"type": "Camera2D",
"name": "camera"
}
]
},
{
"name": "GetWorldToScreenEx",
"description": "Get size position for a 3d world space position",
Expand Down Expand Up @@ -3976,6 +3962,43 @@
}
]
},
{
"name": "GetScreenToWorld2D",
"description": "Get the world space position for a 2d camera screen space position",
"returnType": "Vector2",
"params": [
{
"type": "Vector2",
"name": "position"
},
{
"type": "Camera2D",
"name": "camera"
}
]
},
{
"name": "GetCameraMatrix",
"description": "Get camera transform matrix (view matrix)",
"returnType": "Matrix",
"params": [
{
"type": "Camera",
"name": "camera"
}
]
},
{
"name": "GetCameraMatrix2D",
"description": "Get camera 2d transform matrix",
"returnType": "Matrix",
"params": [
{
"type": "Camera2D",
"name": "camera"
}
]
},
{
"name": "SetTargetFPS",
"description": "Set target FPS (maximum)",
Expand Down Expand Up @@ -7254,7 +7277,7 @@
"name": "image"
},
{
"type": "float *",
"type": "float*",
"name": "kernel"
},
{
Expand Down
Loading

0 comments on commit d990e36

Please sign in to comment.