MAV'RIC
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
raytracing::Ray Class Reference

Ray. More...

#include <raytracing.hpp>

List of all members.

Public Member Functions

 Ray (Vector3f origin=Vector3f{0.0f, 0.0f, 0.0f}, Vector3f direction=Vector3f{1.0f, 0.0f, 0.0f})
 Constructor.
const Vector3forigin (void) const
 Return origin point.
bool set_origin (Vector3f origin)
 Update origin point.
const Vector3fdirection (void) const
 Return direction vector.
bool set_direction (Vector3f origin)
 Update direction.

Detailed Description

Ray.


Constructor & Destructor Documentation

Constructor.

Parameters:
originRay origin
directionRay direction (unit vector)

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines