48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (tori_Rleg)
|
|
****************************************************************************************************/
|
|
#define SCALE 0.25
|
|
#define ShapeColor_tori_Rleg(R,G,B) {{R*SCALE ,G*SCALE ,B*SCALE ,0 ,R*SCALE ,G*SCALE ,B*SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_tori_Rleg[] = {
|
|
ShapeColor_tori_Rleg(255,117, 33),
|
|
};
|
|
|
|
static Vtx vtx_tori_Rleg_0[] = {
|
|
{ 9, 27, 3, 0, 0, 0, -43, 80, 87, 255},
|
|
{ 0, 0, 0, 0, 0, 0, -122, -32, -3, 255},
|
|
{ 14, 9, 8, 0, 0, 0, 1, -79, 98, 255},
|
|
{ 9, 27, -3, 0, 0, 0, -42, 77, -91, 255},
|
|
{ 69, 0, 0, 0, 0, 0, 98, 80, -3, 255},
|
|
{ 14, 9, -7, 0, 0, 0, 3, -80, -97, 255},
|
|
};
|
|
|
|
static Gfx gfx_tori_Rleg_0[] = {
|
|
|
|
gsSPLight((&light_tori_Rleg[0].l[0]),1 ),
|
|
gsSPLight((&light_tori_Rleg[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_tori_Rleg_0[0], 6, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 1, 0, 3, 0),
|
|
gsSP1Triangle( 4, 0, 2, 0),
|
|
gsSP1Triangle( 0, 4, 3, 0),
|
|
gsSP1Triangle( 5, 1, 3, 0),
|
|
gsSP1Triangle( 1, 5, 2, 0),
|
|
gsSP1Triangle( 5, 4, 2, 0),
|
|
gsSP1Triangle( 4, 5, 3, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_tori_Rleg[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPDisplayList(gfx_tori_Rleg_0),
|
|
|
|
gsSPEndDisplayList()
|
|
};
|
|
|