|
Fermat
|
A functor to compute the absolute value of the cosine of the angle formed with a given normal
#include <functors.h>
Public Types | |
| typedef Vector_type | argument_type |
| typedef float | result_type |
Public Methods | |
| CUGAR_HOST_DEVICE | abs_cosine_functor (const Vector_type &normal) |
| CUGAR_HOST_DEVICE float | operator() (const Vector_type &dir) const |
Public Members | |
| const Vector_type | m_normal |
|
inline |
constructor
| normal | reference normal |
1.8.13