<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_makeVec3</id>
		<title>MIST makeVec3 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_makeVec3"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_makeVec3&amp;action=history"/>
		<updated>2026-04-26T15:41:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_makeVec3&amp;diff=1086&amp;oldid=prev</id>
		<title>Grimes at 23:21, 13 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_makeVec3&amp;diff=1086&amp;oldid=prev"/>
				<updated>2018-04-13T23:21:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Mission Scripting&lt;br /&gt;
&lt;br /&gt;
|fName= mist.utils.makeVec3|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 1.0&lt;br /&gt;
&lt;br /&gt;
|desc= This function takes a Vec2 table and returns it as a Vec3 table. The y variable is optional and it specifies the altitude to be used in the vec3 table. If y is not set the value defaults to 0|&lt;br /&gt;
&lt;br /&gt;
|rtnType= vec3&lt;br /&gt;
&lt;br /&gt;
|reqType1= table&lt;br /&gt;
&lt;br /&gt;
|reqName1= vec2&lt;br /&gt;
&lt;br /&gt;
|reqType2= &lt;br /&gt;
&lt;br /&gt;
|optType1= number&lt;br /&gt;
&lt;br /&gt;
|optName1= y &lt;br /&gt;
&lt;br /&gt;
|optType2=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|varExamples= vec2&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= vec3&lt;br /&gt;
&lt;br /&gt;
|example= &amp;lt;code&amp;gt;&lt;br /&gt;
do&lt;br /&gt;
:local point = mist.utils.makeVec3(Unit.getByName('myUnit'):getPosition().p&lt;br /&gt;
&lt;br /&gt;
:local surfType= and.getSurfaceType(point)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|notes= With mist 4.1 this function now supports being passed a WP table {x, y, alt} as the first value. &lt;br /&gt;
&lt;br /&gt;
|funcs= {{listOfMistCoordinateConv}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|makeVec3]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>