mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
library: Deprecate NE_ShadingEnable()
This has been replaced by NE_SetupToonShadingTables(), which is a more sensible name. A define has been added for compatibility.
This commit is contained in:
parent
521012d4d1
commit
636a7d73c3
@ -274,7 +274,9 @@ void NE_OutliningSetColor(u32 index, u32 color);
|
||||
/// - EMISSION = RGB15(0, 0, 0)
|
||||
///
|
||||
/// @param value True sets up tables for toon shading, false clears them.
|
||||
void NE_ShadingEnable(bool value);
|
||||
void NE_SetupToonShadingTables(bool value);
|
||||
|
||||
#define NE_ShadingEnable NE_SetupToonShadingTables
|
||||
|
||||
/// Set highlight shading or toon shading modes.
|
||||
///
|
||||
|
@ -99,7 +99,7 @@ void NE_OutliningSetColor(u32 index, u32 color)
|
||||
GFX_EDGE_TABLE[index] = color;
|
||||
}
|
||||
|
||||
void NE_ShadingEnable(bool value)
|
||||
void NE_SetupToonShadingTables(bool value)
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user