<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Vec4ExampleCode</id>
	<title>Vec4ExampleCode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Vec4ExampleCode"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Vec4ExampleCode&amp;action=history"/>
	<updated>2026-04-22T00:27:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=Vec4ExampleCode&amp;diff=146&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;==Example Code== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; local a = Vec4(6, 8, 0, 0) local b = a + Vec4(-2,-2, 1, 0) * 2 print(b.x..&quot;, &quot;..b.y..&quot;, &quot;..b.z..&quot;, &quot;..b.w)    --print 2.0, 4.0, 2.0, 0.0   a:normalize() print(a.x..&quot;, &quot;..a.y..&quot;, &quot;..a.z..&quot;, &quot;..b.w)    --print 0.6, 0.8, 0.0, 0.0 &lt;/syntaxhighlight&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Vec4ExampleCode&amp;diff=146&amp;oldid=prev"/>
		<updated>2025-07-06T07:55:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Example Code== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; local a = Vec4(6, 8, 0, 0) local b = a + Vec4(-2,-2, 1, 0) * 2 print(b.x..&amp;quot;, &amp;quot;..b.y..&amp;quot;, &amp;quot;..b.z..&amp;quot;, &amp;quot;..b.w)    --print 2.0, 4.0, 2.0, 0.0   a:normalize() print(a.x..&amp;quot;, &amp;quot;..a.y..&amp;quot;, &amp;quot;..a.z..&amp;quot;, &amp;quot;..b.w)    --print 0.6, 0.8, 0.0, 0.0 &amp;lt;/syntaxhighlight&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Example Code==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local a = Vec4(6, 8, 0, 0)&lt;br /&gt;
local b = a + Vec4(-2,-2, 1, 0) * 2&lt;br /&gt;
print(b.x..&amp;quot;, &amp;quot;..b.y..&amp;quot;, &amp;quot;..b.z..&amp;quot;, &amp;quot;..b.w)    --print 2.0, 4.0, 2.0, 0.0 &lt;br /&gt;
&lt;br /&gt;
a:normalize()&lt;br /&gt;
print(a.x..&amp;quot;, &amp;quot;..a.y..&amp;quot;, &amp;quot;..a.z..&amp;quot;, &amp;quot;..b.w)    --print 0.6, 0.8, 0.0, 0.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>