<?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=Line2D</id>
	<title>Line2D - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Line2D"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Line2D&amp;action=history"/>
	<updated>2026-04-22T00:35:08Z</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=Line2D&amp;diff=41&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:Line2DExampleCode}}  ==Members== {| class=&quot;wikitable&quot;  !|type !|variable !|description |- |Vec2 |startPos | |- |Vec2 |endPos | |- |}  ==Constructor== {| class=&quot;wikitable&quot;  !|function !|description |- |Line2D(Vec2 startPos, Vec2 endPos) | |- |Line2D(Vec2 startPos, Vec2 atVec, float length) | |- |Line2D() | |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |float |length() |Returns the line length....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Line2D&amp;diff=41&amp;oldid=prev"/>
		<updated>2025-07-05T13:36:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:Line2DExampleCode}}  ==Members== {| class=&amp;quot;wikitable&amp;quot;  !|type !|variable !|description |- |&lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; |startPos | |- |&lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; |endPos | |- |}  ==Constructor== {| class=&amp;quot;wikitable&amp;quot;  !|function !|description |- |Line2D(&lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; startPos, &lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; endPos) | |- |Line2D(&lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; startPos, &lt;a href=&quot;/index.php/Vec2&quot; title=&quot;Vec2&quot;&gt;Vec2&lt;/a&gt; atVec, float length) | |- |Line2D() | |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |float |&lt;a href=&quot;/index.php?title=Line2D:length()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Line2D:length() (page does not exist)&quot;&gt;length&lt;/a&gt;() |Returns the line length....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:Line2DExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Members==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
!|type&lt;br /&gt;
!|variable&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec2]]&lt;br /&gt;
|startPos&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec2]]&lt;br /&gt;
|endPos&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|Line2D([[Vec2]] startPos, [[Vec2]] endPos)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Line2D([[Vec2]] startPos, [[Vec2]] atVec, float length)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Line2D()&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|float&lt;br /&gt;
|[[Line2D:length()|length]]()&lt;br /&gt;
|Returns the line length.&lt;br /&gt;
|-&lt;br /&gt;
|float&lt;br /&gt;
|[[Line2D:getDist()|getDist]]()&lt;br /&gt;
|Returns the line length^2.&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec2]]&lt;br /&gt;
|[[Line2D:getCenterPos()|getCenterPos]]()&lt;br /&gt;
|Returns the line center position.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Line2D:setLine(Vec3 startPos, Vec3 endPos)|setLine]]([[Vec3]] startPos, [[Vec3]] endPos)&lt;br /&gt;
|set the line.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Line2D:setLine(Line2D line)|setLine]](Line2D line)&lt;br /&gt;
|set the line.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>