Skip to content

Instantly share code, notes, and snippets.

@lolriven
lolriven / BBox.cpp
Created April 8, 2023 18:04 — forked from dubik/BBox.cpp
// Vectormath https://github.com/erwincoumans/sce_vectormath
class Ray
{
public:
Ray();
public:
Vectormath::Aos::Vector3 m_pos;
Vectormath::Aos::Vector3 m_dir;
Vectormath::Aos::Vector3 m_invDir; // 1.0f / m_dir per elem
float m_min;