KiCad PCB EDA Suite
Loading...
Searching...
No Matches
frustum_3d.cpp File Reference

Implementation of truncated cone ray intersection. More...

#include "3d_fastmath.h"
#include "frustum_3d.h"
#include <cmath>

Go to the source code of this file.

Detailed Description

Implementation of truncated cone ray intersection.

The truncated cone is a vertical cone truncated at zMin and zMax with different radii. Ray-cone intersection uses the implicit equation of a cone.

Definition in file frustum_3d.cpp.