<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=GetDir</id>
	<title>GetDir - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=GetDir"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=GetDir&amp;action=history"/>
	<updated>2026-06-04T14:22:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=GetDir&amp;diff=5965&amp;oldid=prev</id>
		<title>Ozdeadmeat: getDir – created via PowerShell script (2025-11-11T21:12:34Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=GetDir&amp;diff=5965&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:35Z</updated>

		<summary type="html">&lt;p&gt;getDir – created via PowerShell script (2025-11-11T21:12:34Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          getDir|fDescription=   Calculates the bearing in degrees from an initial vector to a destination vector using the atan2 function, adjusting for proper quadrant representation and returning a value between 0 and 360 degrees.|parentFile=     cmm.positionFunctions.lua|syntax=         CMM.getDir(InitialVec &amp;lt;TBL&amp;gt;, DestinationVec &amp;lt;TBL&amp;gt;)|return=         number|returnDesc=     The bearing in degrees from the initial vector to the destination vector, calculated using atan2 and normalized to the range 0–360.|example=        CMM.getDir({x=0, y=0}, {x=1, y=1})|exampleDesc=    Computes the bearing from origin to point (1,1), returning 45 degrees, demonstrating accurate direction calculation with proper component handling.|related=        |note=           |envType= CMM|par1=         table InitialVec|reqType1=     table|reqName1=     InitialVec|desc1=       A vector table with x and optionally z or y components, representing the starting position or direction.|par2=         table DestinationVec|reqType2=     table|reqName2=     DestinationVec|desc2=       A vector table with x and optionally z or y components, representing the target position or direction.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>