sphere box test
This commit is contained in:
parent
b868e31cb3
commit
e3743ba468
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ namespace Crafter {
|
||||||
}
|
}
|
||||||
|
|
||||||
export template<typename T>
|
export template<typename T>
|
||||||
constexpr T IntersectionTestOrientedBoxOrientedBox(Vector<T, 3, 0> sizeA, MatrixRowMajor<T, 4, 3, 1> boxA, Vector<T, 3, 0> sizeB, MatrixRowMajor<T, 4, 3, 1> boxB) {
|
constexpr bool IntersectionTestOrientedBoxOrientedBox(Vector<T, 3, 0> sizeA, MatrixRowMajor<T, 4, 3, 1> boxA, Vector<T, 3, 0> sizeB, MatrixRowMajor<T, 4, 3, 1> boxB) {
|
||||||
std::vector<Vector<T, 3, 0>> axes;
|
std::vector<Vector<T, 3, 0>> axes;
|
||||||
|
|
||||||
std::vector<Vector<T, 3, 0>> box1Corners = getOBBCorners(sizeA, boxA);
|
std::vector<Vector<T, 3, 0>> box1Corners = getOBBCorners(sizeA, boxA);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue