<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>RemoveVertex</title>
    <category>Objects</category>
    <subcat>Vertices</subcat>
    <version>5.1 OC</version>
    <syntax>
      <rtype>int</rtype>
      <params>
        <param>
          <type>int</type>
          <name>index</name>
          <desc>Index of the vertex to be removed.</desc>
        </param>
      </params>
    </syntax>
    <desc>Removes a vertex from the calling object.</desc>
    <remark>Notice: with any vertex updated caused by stretching or rotation of the object (e.g. building or growth) the vertices will be reset to their original defined position unless a special vertex mode is selected.</remark>
    <examples>
      <example>
        <code><funclink>while</funclink>(RemoveVertex()) ;</code>
        <text>Removes all vertices from the calling object.</text>
      </example>
    </examples>
    <related>
      <funclink>AddVertex</funclink>
      <funclink>GetVertex</funclink>
      <funclink>SetVertex</funclink>
      <funclink>GetVertexNum</funclink>
    </related>
  </func>
  <author>Sven2</author><date>2003-05</date>
</funcs>
