<?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=MeshSplitter</id>
	<title>MeshSplitter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=MeshSplitter"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=MeshSplitter&amp;action=history"/>
	<updated>2026-04-21T23:08:50Z</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=MeshSplitter&amp;diff=19&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:MeshSplitterExampleCode}}  ==Constructor== {| class=&quot;wikitable&quot; !|function !|description |- |MeshSplitter() | |- |}  template:func  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |ListSplittedMesh |splitMesh(Mesh meshToSplit) |plit an mesh up into several submeshes. for speed recommend to use soft normals else this function will be very slow. |- | |MeshSplitter:calculateSubMeshMovement...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=MeshSplitter&amp;diff=19&amp;oldid=prev"/>
		<updated>2025-07-05T13:00:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:MeshSplitterExampleCode}}  ==Constructor== {| class=&amp;quot;wikitable&amp;quot; !|function !|description |- |MeshSplitter() | |- |}  &lt;a href=&quot;/index.php?title=Template:Func&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:Func (page does not exist)&quot;&gt;template:func&lt;/a&gt;  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |ListSplittedMesh |&lt;a href=&quot;/index.php?title=MeshSplitter:splitMesh(Mesh_meshToSplit)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MeshSplitter:splitMesh(Mesh meshToSplit) (page does not exist)&quot;&gt;splitMesh&lt;/a&gt;(&lt;a href=&quot;/index.php/Mesh&quot; title=&quot;Mesh&quot;&gt;Mesh&lt;/a&gt; meshToSplit) |plit an &lt;a href=&quot;/index.php/Mesh&quot; title=&quot;Mesh&quot;&gt;mesh&lt;/a&gt; up into several submeshes. for speed recommend to use soft normals else this function will be very slow. |- | |MeshSplitter:calculateSubMeshMovement...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:MeshSplitterExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|MeshSplitter()&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[template:func]]&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;
|ListSplittedMesh&lt;br /&gt;
|[[MeshSplitter:splitMesh(Mesh meshToSplit)|splitMesh]]([[Mesh]] meshToSplit)&lt;br /&gt;
|plit an [[mesh]] up into several submeshes. for speed recommend to use soft normals else this function will be very slow.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[MeshSplitter:calculateSubMeshMovement(float deltaTime)|calculateSubMeshMovement]](float deltaTime)&lt;br /&gt;
|used to calculate movement speed of submeshes this can be used when having an animated [[mesh]] there different sub meshes has different speed and direction. to use the [[mesh]] need to be updated from the split [[mesh]] &lt;br /&gt;
EX:&lt;br /&gt;
meshSplitter.splitMesh(pMesh);&lt;br /&gt;
pMesh-&amp;gt;animationUpdate([[Core]]::_deltaTime);&lt;br /&gt;
meshSplitter.calculateSubMeshMovement([[Core]]::_deltaTime);&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[MeshSplitter:compileSubMeshes()|compileSubMeshes]]()&lt;br /&gt;
|compile the subMesh with new origo.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>