T3 Create the Ray class (easy)

Tutorial

Create ray.h under the src directory.

A Ray is defined by a point and a vector (preferrably normalised), we can define the Ray class as follows (we are following our tutorial to use the lower case ray as the class name):

Last updated