2026-07-23 05:27:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
#include "vde/core/point.h"
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <array>
|
|
|
|
|
|
|
|
|
|
namespace vde::collision {
|
2026-07-23 08:19:24 +00:00
|
|
|
using core::Point3D;
|
2026-07-23 05:27:51 +00:00
|
|
|
|
|
|
|
|
bool sat_intersect(const std::vector<Point3D>& verts_a,
|
|
|
|
|
const std::vector<std::array<int,3>>& faces_a,
|
|
|
|
|
const std::vector<Point3D>& verts_b,
|
|
|
|
|
const std::vector<std::array<int,3>>& faces_b);
|
|
|
|
|
|
|
|
|
|
} // namespace vde::collision
|