Ray Tracer  2020
Public Attributes | List of all members
Ray Class Reference

Rays as a starting Point and Direction. More...

#include <Ray.h>

Public Attributes

Point point
 The starting Point for the Ray. More...
 
Direction direction
 The Direction for the Ray. More...
 

Detailed Description

Rays as a starting Point and Direction.

Unsurprisingly, a Ray is a fundamental concept in ray-tracing. A Ray is defined by the Point at which it starts, and the Direction in which it goes.

Member Data Documentation

◆ direction

Direction Ray::direction

The Direction for the Ray.

◆ point

Point Ray::point

The starting Point for the Ray.


The documentation for this class was generated from the following file: