Carna  Version 3.0.1
Public Member Functions | List of all members
Carna::base::math::Ray3f Class Reference

Defines ray in \(\mathbb R^3\). More...

#include <Ray.h>

+ Inheritance diagram for Carna::base::math::Ray3f:
+ Collaboration diagram for Carna::base::math::Ray3f:

Public Member Functions

void fromEye (unsigned int frameX, unsigned int frameY, const Viewport &vp, const Matrix4f &inverseProjection, const Matrix4f &inverseView)
 Computes a ray in world space.
 
void fromEye (unsigned int frameX, unsigned int frameY, const Viewport &vp, const Camera &cam)
 Computes a ray in world space.
 

Additional Inherited Members

- Public Types inherited from Carna::base::math::Ray< Vector3f >
typedef Vector3f Vector
 Reflects the VectorType argument this class template was instantiated with.
 
- Public Attributes inherited from Carna::base::math::Ray< Vector3f >
Vector3f origin
 Holds the origin of this ray.
 
Vector3f direction
 Holds the direction of this ray.
 

Detailed Description

Defines ray in \(\mathbb R^3\).

Author
Leonid Kostrykin
Date
22.2.15 - 16.3.15

Definition at line 83 of file Ray.h.


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