<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://solarstrike.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Vector3d_Class</id>
		<title>Vector3d Class - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://solarstrike.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Vector3d_Class"/>
		<link rel="alternate" type="text/html" href="https://solarstrike.net/wiki/index.php?title=Vector3d_Class&amp;action=history"/>
		<updated>2026-08-29T21:06:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://solarstrike.net/wiki/index.php?title=Vector3d_Class&amp;diff=1109&amp;oldid=prev</id>
		<title>Elverion: Protected &quot;Vector3d Class&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://solarstrike.net/wiki/index.php?title=Vector3d_Class&amp;diff=1109&amp;oldid=prev"/>
				<updated>2014-05-29T18:53:31Z</updated>
		
		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/index.php/Vector3d_Class&quot; title=&quot;Vector3d Class&quot;&gt;Vector3d Class&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:53, 29 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Elverion</name></author>	</entry>

	<entry>
		<id>https://solarstrike.net/wiki/index.php?title=Vector3d_Class&amp;diff=1108&amp;oldid=prev</id>
		<title>Elverion: Created page with &quot;The vector3d class contains functions and operators for dealing with 3-dimensional math.  == Operators == Operators for adding (+), subtracting (-), and scaling (* or /) are s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://solarstrike.net/wiki/index.php?title=Vector3d_Class&amp;diff=1108&amp;oldid=prev"/>
				<updated>2014-05-29T18:52:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;The vector3d class contains functions and operators for dealing with 3-dimensional math.  == Operators == Operators for adding (+), subtracting (-), and scaling (* or /) are s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The vector3d class contains functions and operators for dealing with 3-dimensional math.&lt;br /&gt;
&lt;br /&gt;
== Operators ==&lt;br /&gt;
Operators for adding (+), subtracting (-), and scaling (* or /) are supported. You may also get the magnitude (length) of a vector with the # operator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== set ==&lt;br /&gt;
'''vector3d:set(number x, number y[, number z])'''&lt;br /&gt;
&lt;br /&gt;
Change the x, y, and z axis for a vector. You may also manually change these values separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== length ==&lt;br /&gt;
'''number vector3d:length()'''&lt;br /&gt;
&lt;br /&gt;
Returns the length (aka magnitude) of a vector. This is the same as the # operator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== normal ==&lt;br /&gt;
'''vector3d vector3d:normal()'''&lt;br /&gt;
&lt;br /&gt;
Returns a normalized (vector with a magnitude of 1) copy of a vector.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== dot ==&lt;br /&gt;
'''number vector3d:dot(vector3d other)'''&lt;br /&gt;
&lt;br /&gt;
Returns the dot product of a vector against some other vector.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== cross ==&lt;br /&gt;
'''vector3d vector3d:cross(vector3d other)'''&lt;br /&gt;
&lt;br /&gt;
Returns the cross product of a vector against some other vector.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== rotateAboutX ==&lt;br /&gt;
'''vector3d vector3d:rotateAboutX(number angle)'''&lt;br /&gt;
&lt;br /&gt;
Returns a copy of the vector rotated around the X axis by some angle in radians (''not degrees!'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== rotateAboutY ==&lt;br /&gt;
'''vector3d vector3d:rotateAboutY(number angle)'''&lt;br /&gt;
&lt;br /&gt;
Returns a copy of the vector rotated around the Y axis by some angle in radians (''not degrees!'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== rotateAboutZ ==&lt;br /&gt;
'''vector3d vector3d:rotateAboutZ(number angle)'''&lt;br /&gt;
&lt;br /&gt;
Returns a copy of the vector rotated around the Z axis by some angle in radians (''not degrees!'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== rotateAbout ==&lt;br /&gt;
'''vector3d vector3d:rotateAbout(vector3d axis, number angle)'''&lt;br /&gt;
&lt;br /&gt;
Returns a copy of the vector rotated around a user-specified axis by some angle in radians (''not degrees!'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== lerp ==&lt;br /&gt;
'''vector3d vector3d:lerp(vector3d target, number ratio)'''&lt;br /&gt;
&lt;br /&gt;
Linearly interpolate (lerp) a vector to rotate it towards the target vector by 'ratio' amount. 'ratio' should be between 0 (no rotation) and 1 (full rotation).&lt;br /&gt;
Linear interpolation is quicker to calculate but less accurate than spherical linear interpolation (slerp).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== slerp ==&lt;br /&gt;
'''vector3d vector3d:slerp(vector3d target, number ratio)'''&lt;br /&gt;
&lt;br /&gt;
Spherical linearl interpolate (lerp) a vector to rotate it towards the target vector by 'ratio' amount. 'ratio' should be between 0 (no rotation) and 1 (full rotation).&lt;br /&gt;
Spherical linear interpolation is slower to calculate but is visually smoother than linear interpolation (lerp).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== moveTowards ==&lt;br /&gt;
'''vector3d vector3d:moveTowards(vector3d target, number dist)'''&lt;br /&gt;
&lt;br /&gt;
Move this vector up to 'dist' distance towards the target vector. This will automatically prevent overstepping the target should 'dist' be longer than the actual distance to target. If distance is negative, this function will move away from the target vector.&lt;/div&gt;</summary>
		<author><name>Elverion</name></author>	</entry>

	</feed>