candlewick 0.6.0
A tiny cross-platform renderer based on SDL3
Loading...
Searching...
No Matches
Collision.h File Reference
#include "math_types.h"
#include <coal/BV/AABB.h>
#include <coal/BV/OBB.h>

Go to the source code of this file.

Namespaces

namespace  candlewick
 

Functions

Mat4f candlewick::toTransformationMatrix (const AABB &aabb)
 
Mat4f candlewick::toTransformationMatrix (const coal::OBB &obb)
 
std::array< Float3, 8 > candlewick::getAABBCorners (const AABB &aabb)
 
AABB candlewick::applyTransformToAABB (const AABB &aabb, const Mat4f &tr_)