mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-26 02:25:13 +00:00
first commit
This commit is contained in:
17
src/gu/sceGuModelColor.c
Normal file
17
src/gu/sceGuModelColor.c
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* PSP Software Development Kit - http://www.pspdev.org
|
||||
* -----------------------------------------------------------------------
|
||||
* 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(84, emissive & 0xffffff);
|
||||
sendCommandi(86, diffuse & 0xffffff);
|
||||
sendCommandi(85, ambient & 0xffffff);
|
||||
sendCommandi(87, specular & 0xffffff);
|
||||
}
|
||||
Reference in New Issue
Block a user