mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Added ImageRotate (#3078)
* Added ImageRotate * Quick rename of the example * Update ImageRotate by changing doubles to floats and checking code convention * Update API
This commit is contained in:
@ -6757,6 +6757,21 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageRotate",
|
||||
"description": "Rotate image by input angle in degrees (-359 to 359) ",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Image *",
|
||||
"name": "image"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "degrees"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImageRotateCW",
|
||||
"description": "Rotate image clockwise 90deg",
|
||||
|
||||
Reference in New Issue
Block a user