Segment

Segs are to sub-sectors what linedefs are to sectors; they make up the shape of the sub-sectors. The most relevant information on them can be found on the NODES page.


Specification

BytesData typeDescription
0-1Unsigned shortBeginning vertex number
2-3Unsigned shortEnding vertex number
4-5Signed shortAngle: 0x0000 = East, 0x4000=North, 0x8000=West, 0xC000=South
6-7Unsigned shortLinedef number
8-9Signed shortDirection: 0 (same as linedef) or 1 (opposite of linedef)
10-11Signed shortOffset: distance along the linedef to the start of the seg
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.