Skip to content

Instantly share code, notes, and snippets.

View DaveH355's full-sized avatar

David Hu DaveH355

View GitHub Profile
@DaveH355
DaveH355 / main.cpp
Created January 8, 2025 12:37
Triangle-AABB intersection as God and Christer Ericson intended
#include <cassert>
#include <cstdlib>
#include <glm/common.hpp>
#include <glm/ext/vector_float3.hpp>
#include <glm/geometric.hpp>
#include <glm/ext/scalar_common.hpp>
#include <limits>
/*