Difference between revisions of "Vertex"

From DoomWiki.org

[unchecked revision][unchecked revision]
Line 7: Line 7:
 
2: y coordinate<br>
 
2: y coordinate<br>
 
</tt>
 
</tt>
 +
 +
The values are in signed two's complement format, so each coordinate can range from -32768 to +32767.  In the [[WAD file]], the bytes are in little-endian order (least significant byte first).
 +
 
[[Category:Doom engine]]
 
[[Category:Doom engine]]

Revision as of 18:50, 11 January 2005

Linedefs are connected to vertices, which are nothing more than coordinates in the map.

Vertex Structure

bytes
2: x coordinate
2: y coordinate

The values are in signed two's complement format, so each coordinate can range from -32768 to +32767. In the WAD file, the bytes are in little-endian order (least significant byte first).