SGDK
A free and open development kit for the Sega Mega Drive
Loading...
Searching...
No Matches
Triangle Struct Reference

Triangle definition. More...

#include <bmp.h>

Collaboration diagram for Triangle:
[legend]

Public Attributes

Vect2D_s16 pt1
 
Vect2D_s16 pt2
 
Vect2D_s16 pt3
 
u16 col
 

Detailed Description

Triangle definition.

Parameters
pt1Start point.
pt2Second point.
pt3End point.
colColor (should be 8 bits filled: 0x00, 0x11, .. for plain color). we use u16 for alignment optimization

The documentation for this struct was generated from the following file: