41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (sman_arm)
|
|
****************************************************************************************************/
|
|
#define sman_arm_AMB_SCALE 0.5
|
|
#define ShapeColor_sman_arm(R,G,B) {{R*sman_arm_AMB_SCALE ,G*sman_arm_AMB_SCALE ,B*sman_arm_AMB_SCALE ,0 ,R*sman_arm_AMB_SCALE ,G*sman_arm_AMB_SCALE ,B*sman_arm_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_sman_arm[] = {
|
|
ShapeColor_sman_arm( 56, 30, 14),
|
|
};
|
|
|
|
static Vtx vtx_sman_arm_0[] = {
|
|
{ -23, 1, -6, 0, 0, 0, -126, -3, -3, 255},
|
|
{ 76, -17, -6, 0, 0, 0, -22, -124, -7, 255},
|
|
{ 75, 15, 15, 0, 0, 0, -31, 54, 110, 255},
|
|
{ 75, 17, -23, 0, 0, 0, -28, 66, -103, 255},
|
|
};
|
|
|
|
static Gfx gfx_sman_arm_0[] = {
|
|
|
|
gsSPLight((&light_sman_arm[0].l[0]),1 ),
|
|
gsSPLight((&light_sman_arm[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_sman_arm_0[0], 4, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSP1Triangle( 0, 3, 1, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_sman_arm[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPDisplayList(gfx_sman_arm_0),
|
|
|
|
gsSPEndDisplayList()
|
|
};
|
|
|