mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-27 16:49:09 +00: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:
@@ -5266,6 +5266,15 @@ return {
|
||||
{type = "Image *", name = "image"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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