Add collision detection with octree

This commit is contained in:
2021-04-11 14:12:55 +02:00
parent 46b1ac233b
commit 1c2fc7b86b
21 changed files with 94 additions and 21 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
using System.Numerics;
using Microsoft.Xna.Framework;
namespace EvilSatellites.Quadtree
{
public interface Positional
{
Vector3 Position { get; }
Vector3 Dimensions { get; }
Vector3 Position { get; set; }
Vector3 Dimensions { get; set; }
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
using System.Collections.Generic;
using System.Numerics;
using Microsoft.Xna.Framework;
namespace EvilSatellites.Quadtree
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using System.Numerics;
using Microsoft.Xna.Framework;
namespace EvilSatellites.Quadtree
{