sm64coopdx/docs/lua/examples/custom-level/actors/big_paddle/collision.inc.c

70 lines
1.6 KiB
C
Raw Normal View History

2022-04-16 07:01:19 +02:00
const Collision big_paddle_collision[] = {
COL_INIT(),
COL_VERTEX_INIT(24),
COL_VERTEX(-40, -40, -400),
COL_VERTEX(-120, 40, -400),
COL_VERTEX(-120, 40, -800),
COL_VERTEX(-40, -40, -720),
COL_VERTEX(120, 40, -800),
COL_VERTEX(40, -40, -720),
COL_VERTEX(120, 40, -400),
COL_VERTEX(40, -40, -400),
COL_VERTEX(-40, -40, 40),
COL_VERTEX(-40, 40, 40),
COL_VERTEX(-40, 40, -40),
COL_VERTEX(-40, -40, -40),
COL_VERTEX(40, 40, -40),
COL_VERTEX(40, -40, -40),
COL_VERTEX(12, -12, -60),
COL_VERTEX(12, 12, -60),
COL_VERTEX(40, 40, 40),
COL_VERTEX(40, -40, 40),
COL_VERTEX(12, -12, -400),
COL_VERTEX(12, 12, -400),
COL_VERTEX(-12, -12, -60),
COL_VERTEX(-12, 12, -60),
COL_VERTEX(-12, -12, -400),
COL_VERTEX(-12, 12, -400),
COL_TRI_INIT(SURFACE_DEFAULT, 38),
COL_TRI(0, 1, 2),
COL_TRI(0, 2, 3),
COL_TRI(3, 2, 4),
COL_TRI(3, 4, 5),
COL_TRI(5, 4, 6),
COL_TRI(5, 6, 7),
COL_TRI(7, 6, 1),
COL_TRI(7, 1, 0),
COL_TRI(3, 5, 7),
COL_TRI(3, 7, 0),
COL_TRI(4, 2, 1),
COL_TRI(4, 1, 6),
COL_TRI(8, 9, 10),
COL_TRI(8, 10, 11),
COL_TRI(12, 13, 14),
COL_TRI(12, 14, 15),
COL_TRI(13, 12, 16),
COL_TRI(13, 16, 17),
COL_TRI(17, 16, 9),
COL_TRI(17, 9, 8),
COL_TRI(11, 13, 17),
COL_TRI(11, 17, 8),
COL_TRI(12, 10, 9),
COL_TRI(12, 9, 16),
COL_TRI(15, 14, 18),
COL_TRI(15, 18, 19),
COL_TRI(13, 11, 20),
COL_TRI(13, 20, 14),
COL_TRI(10, 12, 15),
COL_TRI(10, 15, 21),
COL_TRI(11, 10, 21),
COL_TRI(11, 21, 20),
COL_TRI(14, 20, 22),
COL_TRI(14, 22, 18),
COL_TRI(21, 15, 19),
COL_TRI(21, 19, 23),
COL_TRI(20, 21, 23),
COL_TRI(20, 23, 22),
COL_TRI_STOP(),
COL_END()
};