Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ray.h File Reference

#include "vecmath.h"

Include dependency graph for ray.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef Ray3< double > Ray3d
typedef Ray3< float > Ray3f

Functions

template<class T>
Ray3< T > operator * (const Ray3< T > &r, const Matrix4< T > &m)
template<class T>
Ray3< T > operator * (const Ray3< T > &r, const Matrix3< T > &m)


Typedef Documentation

typedef Ray3<double> Ray3d
 

Definition at line 29 of file ray.h.

typedef Ray3<float> Ray3f
 

Definition at line 28 of file ray.h.


Function Documentation

template<class T>
Ray3<T> operator * const Ray3< T > &  r,
const Matrix4< T > &  m
 

Definition at line 54 of file ray.h.

00055 {
00056     return Ray3<T>(r.origin * m, r.direction * m);
00057 }

template<class T>
Ray3<T> operator * const Ray3< T > &  r,
const Matrix3< T > &  m
 

Definition at line 49 of file ray.h.

00050 {
00051     return Ray3<T>(r.origin * m, r.direction * m);
00052 }


Generated on Sat Jan 14 22:32:47 2006 for Celestia by  doxygen 1.4.1