pbpt
Loading...
Searching...
No Matches
ray.hpp File Reference

Defines a generic, N-dimensional geometric Ray class. More...

#include "point.hpp"
#include "global.hpp"
#include "vector.hpp"
#include <array>

Go to the source code of this file.

Classes

class  pbpt::math::Ray< T, N >
 A template class for an N-dimensional geometric ray. More...
class  pbpt::math::RayDifferential< T, N >

Namespaces

namespace  pbpt::math
 The namespace for math library implementation.

Typedefs

using pbpt::math::Ray3 = Ray<Float, 3>
 A 3-dimensional ray of type Float, commonly used in 3D graphics.
using pbpt::math::Ray2 = Ray<Float, 2>
 A 2-dimensional ray of type Float.
using pbpt::math::RayDiff3 = RayDifferential<Float, 3>

Detailed Description

Defines a generic, N-dimensional geometric Ray class.

This file provides a Ray class, a fundamental component in ray tracing and other computer graphics algorithms. A ray is defined by an origin point and a direction vector.