todo notes

generics
Evan Hemsley 2019-10-25 04:07:13 -07:00
parent 420e617cec
commit 2a715e71db
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ namespace MoonTools.Core.Bonk
CounterClockwise CounterClockwise
} }
// TODO: convert SimplexVertices to PooledList
public static class EPA2D public static class EPA2D
{ {
// vector returned gives direction from A to B // vector returned gives direction from A to B

View File

@ -5,6 +5,7 @@ using MoonTools.Core.Bonk.Extensions;
namespace MoonTools.Core.Bonk namespace MoonTools.Core.Bonk
{ {
// TODO: get rid of minkowski closure for GC purposes
public static class GJK2D public static class GJK2D
{ {
public static bool TestCollision(IShape2D shapeA, Transform2D transformA, IShape2D shapeB, Transform2D transformB) public static bool TestCollision(IShape2D shapeA, Transform2D transformA, IShape2D shapeB, Transform2D transformB)