<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://wiki.brdoom.org/index.php?action=history&amp;feed=atom&amp;title=VectorLength</id>
	<title>VectorLength - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.brdoom.org/index.php?action=history&amp;feed=atom&amp;title=VectorLength"/>
	<link rel="alternate" type="text/html" href="https://wiki.brdoom.org/index.php?title=VectorLength&amp;action=history"/>
	<updated>2026-04-15T01:14:00Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.brdoom.org/index.php?title=VectorLength&amp;diff=157&amp;oldid=prev</id>
		<title>MegaManx3: Criou página com &#039;int &#039;&#039;&#039;VectorLength&#039;&#039;&#039; (int &#039;&#039;x&#039;&#039;, int &#039;&#039;y&#039;&#039;)  == Usage == Retorna o comprimento do vetor (&#039;&#039;x&#039;&#039;,&#039;&#039;y&#039;&#039;).  === Parameters ===  * &#039;&#039;x&#039;&#039;, &#039;&#039;y&#039;&#039;: Coordenadas do ponto final do vetor.  === Return value === Comprimento do vetor (&#039;&#039;x&#039;&#039;,&#039;&#039;y&#039;&#039;) como um número em ponto fixo.  == Examples == Aqui vai um exemplo rápido de como usar em três dimensões:  function int VLength3d(int x, int y, int z)  {  	int len = VectorLength(x, y);  	len = VectorLen...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.brdoom.org/index.php?title=VectorLength&amp;diff=157&amp;oldid=prev"/>
		<updated>2026-02-14T22:05:10Z</updated>

		<summary type="html">&lt;p&gt;Criou página com &amp;#039;int &amp;#039;&amp;#039;&amp;#039;VectorLength&amp;#039;&amp;#039;&amp;#039; (int &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, int &amp;#039;&amp;#039;y&amp;#039;&amp;#039;)  == Usage == Retorna o comprimento do vetor (&amp;#039;&amp;#039;x&amp;#039;&amp;#039;,&amp;#039;&amp;#039;y&amp;#039;&amp;#039;).  === Parameters ===  * &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;: Coordenadas do ponto final do vetor.  === Return value === Comprimento do vetor (&amp;#039;&amp;#039;x&amp;#039;&amp;#039;,&amp;#039;&amp;#039;y&amp;#039;&amp;#039;) como um &lt;a href=&quot;/index.php/Data_types#Fixed_point&quot; title=&quot;Data types&quot;&gt;número em ponto fixo&lt;/a&gt;.  == Examples == Aqui vai um exemplo rápido de como usar em três dimensões:  function int VLength3d(int x, int y, int z)  {  	int len = &lt;a href=&quot;/index.php/VectorLength&quot; title=&quot;VectorLength&quot;&gt;VectorLength&lt;/a&gt;(x, y);  	len = VectorLen...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;int &amp;#039;&amp;#039;&amp;#039;VectorLength&amp;#039;&amp;#039;&amp;#039; (int &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, int &amp;#039;&amp;#039;y&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Retorna o comprimento do vetor (&amp;#039;&amp;#039;x&amp;#039;&amp;#039;,&amp;#039;&amp;#039;y&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;: Coordenadas do ponto final do vetor.&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
Comprimento do vetor (&amp;#039;&amp;#039;x&amp;#039;&amp;#039;,&amp;#039;&amp;#039;y&amp;#039;&amp;#039;) como um [[Data types#Fixed point|número em ponto fixo]].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Aqui vai um exemplo rápido de como usar em três dimensões:&lt;br /&gt;
 function int VLength3d(int x, int y, int z)&lt;br /&gt;
 {&lt;br /&gt;
 	int len = [[VectorLength]](x, y);&lt;br /&gt;
 	len = [[VectorLength]](z, len);&lt;br /&gt;
 	return len;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[distance]] (Função similar para versões anteriores à r3883.)&lt;/div&gt;</summary>
		<author><name>MegaManx3</name></author>
	</entry>
</feed>