triangle.noth
来自「vga example for altera」· NOTH 代码 · 共 17 行
NOTH
17 行
typedef struct {
int ax, ay;
int bx, by;
int cx, cy;
int spans_needed;
int max_span;
int top_y;
int bottom_y;
int col;
int *span_array;
} triangle_struct;
typedef struct {
int x[2]; // Start and end position of the span
} span_struct;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?