summaryrefslogtreecommitdiff
path: root/courses/test_track/vtx.c
blob: 24a4cc07a919e2542ae1e326df5dc6dd3ecf64f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "mk64.h"
#include "common_structs.h"

CourseVtx test_course_vertices[] = {
    // Top-left vertex (x, y, z), texture coord (tc), color and alpha (ca)
    {{ -100,  100,  0}, { 0,  0}, {MACRO_COLOR_FLAG(0xFF, 0x00, 0x00, 0), 0x00}}, // Red

    // Top-right vertex
    {{  100,  100,  0}, { 1024,  0}, {MACRO_COLOR_FLAG(0x00, 0xFF, 0x00, 0), 0x00}}, // Green

    // Bottom-right vertex
    {{  100, -100,  0}, { 1024,  1024}, {MACRO_COLOR_FLAG(0x00, 0x00, 0xFF, 0), 0x00}}, // Blue

    // Bottom-left vertex
    {{ -100, -100,  0}, { 0,  1024}, {MACRO_COLOR_FLAG(0xFF, 0xFF, 0x00, 0), 0x00}}, // Yellow
};