102 lines
3.8 KiB
Plaintext
102 lines
3.8 KiB
Plaintext
/**********************************************************************
|
|
|
|
ultra64 displaylist C source file ( cube2 )
|
|
|
|
**********************************************************************/
|
|
|
|
/* POLYGON TOTAL (12) */
|
|
|
|
|
|
/*---------------------------------------------------------------------
|
|
Light Data
|
|
---------------------------------------------------------------------*/
|
|
|
|
|
|
static long long dmmy1_cube2 = 0;
|
|
static Lights1 light_cube2[] = {
|
|
ShapeColor( 255,255,255 ), /* attr (11) */
|
|
};
|
|
static long long dmmy2_cube2 = 0;
|
|
|
|
/*---------------------------------------------------------------------
|
|
Vtx Data
|
|
---------------------------------------------------------------------*/
|
|
|
|
static Vtx vtx_cube2[] = {
|
|
{ 200, -200, 200,0,0,0, 127, 0, 0,0 },
|
|
{ 200, -200, -200,0,0,0, 127, 0, 0,0 },
|
|
{ 200, 200, -200,0,0,0, 127, 0, 0,0 },
|
|
{ 200, 200, 200,0,0,0, 127, 0, 0,0 },
|
|
{ 200, -200, 200,0,0,0, 127, 0, 0,0 },
|
|
{ 200, 200, -200,0,0,0, 127, 0, 0,0 },
|
|
{ 200, -200, -200,0,0,0, 0,-127, 0,0 },
|
|
{ 200, -200, 200,0,0,0, 0,-127, 0,0 },
|
|
{ -200, -200, -200,0,0,0, 0,-127, 0,0 },
|
|
{ 200, -200, 200,0,0,0, 0,-127, 0,0 },
|
|
{ -200, -200, 200,0,0,0, 0,-127, 0,0 },
|
|
{ -200, -200, -200,0,0,0, 0,-127, 0,0 },
|
|
{ 200, 200, -200,0,0,0, 0, 0,-127,0 },
|
|
{ 200, -200, -200,0,0,0, 0, 0,-127,0 },
|
|
{ -200, -200, -200,0,0,0, 0, 0,-127,0 },
|
|
{ -200, 200, -200,0,0,0, 0, 0,-127,0 },
|
|
{ 200, 200, -200,0,0,0, 0, 0,-127,0 },
|
|
{ -200, -200, -200,0,0,0, 0, 0,-127,0 },
|
|
{ -200, -200, -200,0,0,0,-127, 0, 0,0 },
|
|
{ -200, -200, 200,0,0,0,-127, 0, 0,0 },
|
|
{ -200, 200, -200,0,0,0,-127, 0, 0,0 },
|
|
{ -200, -200, 200,0,0,0,-127, 0, 0,0 },
|
|
{ -200, 200, 200,0,0,0,-127, 0, 0,0 },
|
|
{ -200, 200, -200,0,0,0,-127, 0, 0,0 },
|
|
{ 200, 200, 200,0,0,0, 0, 127, 0,0 },
|
|
{ 200, 200, -200,0,0,0, 0, 127, 0,0 },
|
|
{ -200, 200, -200,0,0,0, 0, 127, 0,0 },
|
|
{ -200, 200, 200,0,0,0, 0, 127, 0,0 },
|
|
{ 200, 200, 200,0,0,0, 0, 127, 0,0 },
|
|
{ -200, 200, -200,0,0,0, 0, 127, 0,0 },
|
|
{ 200, -200, 200,0,0,0, 0, 0, 127,0 },
|
|
{ 200, 200, 200,0,0,0, 0, 0, 127,0 },
|
|
{ -200, -200, 200,0,0,0, 0, 0, 127,0 },
|
|
{ 200, 200, 200,0,0,0, 0, 0, 127,0 },
|
|
{ -200, 200, 200,0,0,0, 0, 0, 127,0 },
|
|
{ -200, -200, 200,0,0,0, 0, 0, 127,0 },
|
|
};
|
|
|
|
/*---------------------------------------------------------------------
|
|
Gfx Data
|
|
---------------------------------------------------------------------*/
|
|
|
|
Gfx RCP_cube2[] = {
|
|
|
|
gsSPNumLights(1),
|
|
gsSPLight((&light_cube2[0].l[0]),1),
|
|
gsSPLight((&light_cube2[0].a),2),
|
|
|
|
gsSPVertex(&vtx_cube2[0], 15, 0),
|
|
gsSP1Triangle(0, 1, 2, 0),
|
|
gsSP1Triangle(3, 4, 5, 0),
|
|
gsSP1Triangle(6, 7, 8, 0),
|
|
gsSP1Triangle(9, 10, 11, 0),
|
|
gsSP1Triangle(12, 13, 14, 0),
|
|
gsSPVertex(&vtx_cube2[15], 15, 0),
|
|
gsSP1Triangle(0, 1, 2, 0),
|
|
gsSP1Triangle(3, 4, 5, 0),
|
|
gsSP1Triangle(6, 7, 8, 0),
|
|
gsSP1Triangle(9, 10, 11, 0),
|
|
gsSP1Triangle(12, 13, 14, 0),
|
|
gsSPVertex(&vtx_cube2[30], 6, 0),
|
|
gsSP1Triangle(0, 1, 2, 0),
|
|
gsSP1Triangle(3, 4, 5, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
/*=====================================================================
|
|
end of shape
|
|
=====================================================================*/
|
|
|
|
|
|
Hierarchy RCP_MTXcube2[] = {
|
|
hmsGfxMatrix( RM_SURF, RCP_cube2, NULL )
|
|
hmsExit()
|
|
};
|
|
|