Files
pspsdk/src/gu/sceGuModelColor.c
Francisco Javier Trujillo Mata 36a4b80f91 Clean ups around sceGu
- Fix sceGuBreak
- Fix sceGuContinue
- Fix sceGuDrawArrayN
- Fix sceGuMorphWeight
- Remove unnecessary 0xffffff as it is done by sendCommandi
- Improve the name of some parameters
- Create and use GU_MAX_STATUS
- Remove magic numbers in `sceGuMaterial`
- Remove magic numbers in `sceGuMorphWeight`
- Remove magic numbers in `sceGuSetMatrix`
- Remove magic numbers in `sceGuSignal`
2025-05-04 22:09:01 +02:00

18 lines
569 B
C

/*
* PSP Software Development Kit - https://github.com/pspdev
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* Copyright (c) 2005 Jesper Svennevid
*/
#include "guInternal.h"
void sceGuModelColor(unsigned int emissive, unsigned int ambient, unsigned int diffuse, unsigned int specular)
{
sendCommandi(MATERIAL_EMISSIVE, emissive);
sendCommandi(MATERIAL_DIFFUSE, diffuse);
sendCommandi(AMBIENT_COLOR, ambient);
sendCommandi(MATERIAL_SPECULAR, specular);
}