RayTracer 1.0
Ray tracing is a technique used to generate realistic digital images by simulating the inverse path of light. Our goal is to create a program able to generate an image from a file describing the scene.
 
Loading...
Searching...
No Matches
RayTracer::Ray Class Reference

#include <Ray.hpp>

Public Member Functions

 Ray ()
 
 Ray (Math::Point3D _origin, Math::Vector3D _direction)
 

Public Attributes

Math::Point3D origin
 
Math::Vector3D direction
 

Detailed Description

Definition at line 12 of file Ray.hpp.

Constructor & Destructor Documentation

◆ Ray() [1/2]

RayTracer::Ray::Ray ( )

Definition at line 9 of file Ray.cpp.

9 : origin(), direction()
10{}
Math::Point3D origin
Definition Ray.hpp:14
Math::Vector3D direction
Definition Ray.hpp:15

References direction, and origin.

◆ Ray() [2/2]

RayTracer::Ray::Ray ( Math::Point3D _origin,
Math::Vector3D _direction )

Definition at line 12 of file Ray.cpp.

12 : origin(_origin), direction(_direction)
13{}

References direction, and origin.

Member Data Documentation

◆ direction

Math::Vector3D RayTracer::Ray::direction

Definition at line 15 of file Ray.hpp.

◆ origin

Math::Point3D RayTracer::Ray::origin

Definition at line 14 of file Ray.hpp.


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