Skip to content

Commit 601b4c9

Browse files
📖 Added documentation, Minor code cleanup
1 parent e8c877f commit 601b4c9

File tree

11 files changed

+551
-11
lines changed

11 files changed

+551
-11
lines changed

Documentation/Documentation.pdf

303 KB
Binary file not shown.

Documentation/Documentation.pdf.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/Documentation.tex

Lines changed: 404 additions & 0 deletions
Large diffs are not rendered by default.

Documentation/Documentation.tex.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/img.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/img/iso_top.png

8.53 KB
Loading

Documentation/img/iso_top.png.meta

Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Scripts/GameObjectQuadtreeRoot.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using Quadtree.Items;
2+
using UnityEngine;
3+
4+
namespace Quadtree
5+
{
6+
[ExecuteInEditMode]
7+
[AddComponentMenu("Spatial partitioning/Quadtree/Root node (for GameObjects)")]
8+
public class GameObjectQuadtreeRoot : QuadtreeMonoRoot<GameObjectItem, Node<GameObjectItem>>
9+
{
10+
}
11+
}

Scripts/GameObjectQuadtreeRoot.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Scripts/Items/GameObjectItem.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11

2+
using UnityEngine;
3+
24
namespace Quadtree.Items
35
{
46
public abstract class GameObjectItem : GameObjectItemBase<GameObjectItem, Node<GameObjectItem>>
57
{
6-
protected override GameObjectItem This()
7-
{
8-
return this;
9-
}
8+
protected override GameObjectItem This() => this;
109
}
1110
}

0 commit comments

Comments
 (0)