mirror of
https://github.com/n64decomp/sm64.git
synced 2024-11-11 11:55:07 -05:00
56 lines
1.2 KiB
C
56 lines
1.2 KiB
C
|
// Capswitch
|
||
|
|
||
|
const s16 capswitch_collision_050033D0[] = {
|
||
|
COL_INIT(),
|
||
|
COL_VERTEX_INIT(0x8),
|
||
|
COL_VERTEX(292, 0, 254),
|
||
|
COL_VERTEX(292, 0, -253),
|
||
|
COL_VERTEX(292, 353, -253),
|
||
|
COL_VERTEX(-291, 0, -253),
|
||
|
COL_VERTEX(-291, 353, -253),
|
||
|
COL_VERTEX(-291, 0, 254),
|
||
|
COL_VERTEX(-291, 353, 254),
|
||
|
COL_VERTEX(292, 353, 254),
|
||
|
|
||
|
COL_TRI_INIT(SURFACE_SWITCH, 10),
|
||
|
COL_TRI(0, 1, 2),
|
||
|
COL_TRI(1, 3, 4),
|
||
|
COL_TRI(1, 4, 2),
|
||
|
COL_TRI(3, 5, 6),
|
||
|
COL_TRI(3, 6, 4),
|
||
|
COL_TRI(2, 4, 6),
|
||
|
COL_TRI(0, 2, 7),
|
||
|
COL_TRI(2, 6, 7),
|
||
|
COL_TRI(5, 7, 6),
|
||
|
COL_TRI(5, 0, 7),
|
||
|
COL_TRI_STOP(),
|
||
|
COL_END(),
|
||
|
};
|
||
|
|
||
|
const s16 capswitch_collision_05003448[] = {
|
||
|
COL_INIT(),
|
||
|
COL_VERTEX_INIT(0x8),
|
||
|
COL_VERTEX(292, 0, 254),
|
||
|
COL_VERTEX(292, 0, -253),
|
||
|
COL_VERTEX(292, 145, -253),
|
||
|
COL_VERTEX(-291, 0, -253),
|
||
|
COL_VERTEX(-291, 145, -253),
|
||
|
COL_VERTEX(-291, 0, 254),
|
||
|
COL_VERTEX(-291, 145, 254),
|
||
|
COL_VERTEX(292, 145, 254),
|
||
|
|
||
|
COL_TRI_INIT(SURFACE_SWITCH, 10),
|
||
|
COL_TRI(0, 1, 2),
|
||
|
COL_TRI(1, 3, 4),
|
||
|
COL_TRI(1, 4, 2),
|
||
|
COL_TRI(3, 5, 6),
|
||
|
COL_TRI(3, 6, 4),
|
||
|
COL_TRI(2, 4, 6),
|
||
|
COL_TRI(0, 2, 7),
|
||
|
COL_TRI(2, 6, 7),
|
||
|
COL_TRI(5, 7, 6),
|
||
|
COL_TRI(5, 0, 7),
|
||
|
COL_TRI_STOP(),
|
||
|
COL_END(),
|
||
|
};
|