dakku::Ray
ray
#include <ray.h>
Inherited by dakku::RayDifferential
Public Functions
| Name | |
|---|---|
| Ray() =default | |
| Ray(Point3f o, Vector3f d, float t_max =INF) | |
| Point3f | operator()(float t) const get the point on the ray at \(t\) |
| bool | has_nans() const check whether the ray has nans |
Public Attributes
| Name | |
|---|---|
| Point3f | o ray origin |
| Vector3f | d ray direction (note: it may not be normalized) |
| float | tMax ray max time |
Public Functions Documentation
function Ray
function Ray
function operator()
get the point on the ray at \(t\)
function has_nans
check whether the ray has nans
Public Attributes Documentation
variable o
ray origin
variable d
ray direction (note: it may not be normalized)
variable tMax
ray max time
Updated on 2022-04-30 at 15:46:11 +0000