FANDOM


(template)
(segs reference vertices also)
Line 1: Line 1:
 
{{Doom level format}}
 
{{Doom level format}}
[[Linedef]]s are connected to '''vertices''', which are nothing more than coordinates in the map.
+
'''Vertices''' are nothing more than coordinates on the map. [[Linedefs]] and [[segs]] reference vertices for their start-point and end-point.
   
The vertices for a map are stored in the <tt>VERTEXES</tt> [[lump]], which consists of a raw sequence of x, y coordinates as pairs of 16-bit signed integers. The bytes are in little-endian order (least significant byte first).
+
The vertices for a map are stored in the <tt>VERTEXES</tt> [[lump]], which consists of a raw sequence of x, y coordinates as pairs of 16-bit signed integers. The bytes are in [[Wikipedia:Endianness|little-endian]] order (least significant byte first).
   
 
Due to the 16-bit signed format, each coordinate can range from -32768 to +32767.
 
Due to the 16-bit signed format, each coordinate can range from -32768 to +32767.

Revision as of 21:08, October 26, 2005

Vertices are nothing more than coordinates on the map. Linedefs and segs reference vertices for their start-point and end-point.

The vertices for a map are stored in the VERTEXES lump, which consists of a raw sequence of x, y coordinates as pairs of 16-bit signed integers. The bytes are in little-endian order (least significant byte first).

Due to the 16-bit signed format, each coordinate can range from -32768 to +32767.

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