FANDOM


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 23:50, January 11, 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).

Community content is available under CC-BY-SA unless otherwise noted.