Fixed Shadow Rendering

* Fixed Shadow rendering
* Added MakePlanarTextureMap, ReCalculateMeshNormals, GetMeshPolygonCount, and FlipMeshSurfaces
This commit is contained in:
n00b87
2025-09-29 01:20:51 -05:00
parent d63195de3b
commit 715098d200
39 changed files with 1256 additions and 407 deletions

View File

@@ -1,4 +1,31 @@
#title SetSpriteCanvasRenderPriority [RCBasic Doc]
#header function SetSpriteCanvasRenderPriority( c_num, priority, order )
Sets the order sprites are rendered on a sprite canvas.
Returns False if canvas is not a valid canvas
Possible priority values
#list ul
#li SPRITE_PRIORITY_NONE - Sprites are rendered in the order they are added
#li SPRITE_PRIORITY_LEAST_X - Sprites are rendered based on the X position
#li SPRITE_PRIORITY_GREATEST_X - Sprites are rendered based on the X position plus the width
#list ul
#li NOTE: Width is adjusted by Scale when calculating the position
#/list
#li SPRITE_PRIORITY_LEAST_Y - Sprites are rendered based on the Y position
#li SPRITE_PRIORITY_GREATEST_Y - Sprites are rendered based on the Y position plus the height
#list ul
#li NOTE: Height is adjusted by Scale when calculating the position
#/list
#/list
<br>
Possible order values
#list ul
#li SPRITE_ORDER_ASCENDING - Sprites are ordered from lowest in priority to highest when rendered
#li SPRITE_ORDER_DESCENDING - Sprites are ordered from highest in priority to lowest when rendered
#/list
#ref GetSpriteCanvasRenderPriority