<?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=Box</id>
	<title>Box - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Box"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Box&amp;action=history"/>
	<updated>2026-04-21T23:08:39Z</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=Box&amp;diff=38&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:BoxExampleCode}}  ==Constructor== {| class=&quot;wikitable&quot;  !|function !|description |- |Box(Vec3 minPos, Vec3 maxPos) | |- |Box(Sphere sphere) | |- |Box() | |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |Vec3 |getMinPos() |Returns the box minPos. |- |Vec3 |getMaxPos() |Returns the box maxPos. |- |Vec3 |getCenterPosition() |Returns the box center po...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Box&amp;diff=38&amp;oldid=prev"/>
		<updated>2025-07-05T13:35:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:BoxExampleCode}}  ==Constructor== {| class=&amp;quot;wikitable&amp;quot;  !|function !|description |- |Box(&lt;a href=&quot;/index.php/Vec3&quot; title=&quot;Vec3&quot;&gt;Vec3&lt;/a&gt; minPos, &lt;a href=&quot;/index.php/Vec3&quot; title=&quot;Vec3&quot;&gt;Vec3&lt;/a&gt; maxPos) | |- |Box(&lt;a href=&quot;/index.php/Sphere&quot; title=&quot;Sphere&quot;&gt;Sphere&lt;/a&gt; sphere) | |- |Box() | |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |&lt;a href=&quot;/index.php/Vec3&quot; title=&quot;Vec3&quot;&gt;Vec3&lt;/a&gt; |&lt;a href=&quot;/index.php?title=Box:getMinPos()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Box:getMinPos() (page does not exist)&quot;&gt;getMinPos&lt;/a&gt;() |Returns the box minPos. |- |&lt;a href=&quot;/index.php/Vec3&quot; title=&quot;Vec3&quot;&gt;Vec3&lt;/a&gt; |&lt;a href=&quot;/index.php?title=Box:getMaxPos()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Box:getMaxPos() (page does not exist)&quot;&gt;getMaxPos&lt;/a&gt;() |Returns the box maxPos. |- |&lt;a href=&quot;/index.php/Vec3&quot; title=&quot;Vec3&quot;&gt;Vec3&lt;/a&gt; |&lt;a href=&quot;/index.php?title=Box:getCenterPosition()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Box:getCenterPosition() (page does not exist)&quot;&gt;getCenterPosition&lt;/a&gt;() |Returns the box center po...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:BoxExampleCode}}&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;
|Box([[Vec3]] minPos, [[Vec3]] maxPos)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Box([[Sphere]] sphere)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Box()&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;
|[[Vec3]]&lt;br /&gt;
|[[Box:getMinPos()|getMinPos]]()&lt;br /&gt;
|Returns the box minPos.&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec3]]&lt;br /&gt;
|[[Box:getMaxPos()|getMaxPos]]()&lt;br /&gt;
|Returns the box maxPos.&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec3]]&lt;br /&gt;
|[[Box:getCenterPosition()|getCenterPosition]]()&lt;br /&gt;
|Returns the box center position.&lt;br /&gt;
|-&lt;br /&gt;
|float&lt;br /&gt;
|[[Box:getVolume()|getVolume]]()&lt;br /&gt;
|Returns the box volume.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[Box:isPositionInsideBox(Vec3 position)|isPositionInsideBox]]([[Vec3]] position)&lt;br /&gt;
|Returns true if the position is inside the box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Box:setMaxPos(Vec3 maxPos)|setMaxPos]]([[Vec3]] maxPos)&lt;br /&gt;
|set the box maxPos.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Box:setMinPos(Vec3 minPos)|setMinPos]]([[Vec3]] minPos)&lt;br /&gt;
|set the box minPos.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Box:expand(Box box)|expand]]([[Box]] box)&lt;br /&gt;
|Expand box to include the box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Box:expand(Sphere sphere)|expand]]([[Sphere]] sphere)&lt;br /&gt;
|Expand box to include the sphere.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Box:expand(Vec3 point)|expand]]([[Vec3]] point)&lt;br /&gt;
|Expand box to include the point.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>