Visualization Library 2.1.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
The Ray class defines a ray as an origin and direction using real precision. More...
#include <Ray.hpp>
Public Member Functions | |
const vec3 & | direction () const |
const vec3 & | origin () const |
void | setDirection (const vec3 &dir) |
void | setOrigin (const vec3 &orig) |
Protected Attributes | |
vec3 | mDirection |
vec3 | mOrigin |
The Ray class defines a ray as an origin and direction using real precision.
|
inline |
Definition at line 44 of file Ray.hpp.
References mDirection.
Referenced by vl::RayIntersector::intersectTriangle().
|
inline |
Definition at line 45 of file Ray.hpp.
References mOrigin.
Referenced by vl::RayIntersector::intersectTriangle().
|
inline |
Definition at line 46 of file Ray.hpp.
References mDirection.
Referenced by vl::Camera::computeRay().
|
inline |
|
protected |
Definition at line 50 of file Ray.hpp.
Referenced by direction(), and setDirection().
|
protected |
Definition at line 51 of file Ray.hpp.
Referenced by origin(), and setOrigin().
Visualization Library 2.1.0 Reference Documentation
Updated on Wed Mar 10 2021 16:02:53.
© Copyright Michele Bosi. All rights reserved.