-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathclipping.h
More file actions
19 lines (16 loc) · 592 Bytes
/
clipping.h
File metadata and controls
19 lines (16 loc) · 592 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
* Title: Line and Triangle Clipping Routines
* Author: Dean Belfield
* Created: 20/08/2025
* Last Updated: 22/09/2025
*
* Modinfo:
*/
#ifndef __CLIPPING_H__
#define __CLIPPING_H__
extern uint8_t clipRegion(Point16 * p) __z88dk_callee;
extern uint8_t clipLine(Point16 * p1, Point16 * p2) __z88dk_callee;
extern void lineL2C(Point16 p1, Point16 p2, uint8_t c) __z88dk_callee;
extern void triangleL2C(Point16 p1, Point16 p2, Point16 p3, uint8_t c) __z88dk_callee;
extern void triangleL2CF(Point16 p1, Point16 p2, Point16 p3, uint8_t c) __z88dk_callee;
#endif //__CLIPPING_H__