This commit is contained in:
2026-11-03 20:05:02 -05:00
parent 7b32ad674e
commit 95c79efe83
38 changed files with 1636 additions and 2561 deletions
+3 -1
View File
@@ -51,7 +51,9 @@ std::optional<std::pair<float, glm::vec3>> TAxisCollidesT(std::vector < glm::vec
std::optional<AxisCollisionCN> TAxisCollidesTCN(std::vector < glm::vec3 >& t1, std::vector < glm::vec3 >& t2, glm::vec3 axis);
bool TNearT(t& t1, t& t22);
std::optional<TInTInfo> TInT(t& t1, t& t2);
// withPoint false leaves POI at zero, for callers that work out their own contact points
std::optional<TInTInfo> TInT(const t& t1, const t& t2, bool withPoint = true);
glm::vec3 BoxContactPoint(const t& t1, const t& t2);
bool TInTNoInfo(t& t1, t& t2);
glm::quat AngleAxis(glm::vec3 axis, float angle);