#include <ray2.h>
Public Member Functions | |
| ray2 () | |
| ray2 (const vec2< T > &pos, const vec2< T > &dir) | |
| ray2 (const ray2 &r) | |
| ray2 & | operator= (const ray2 &r) |
| ~ray2 () | |
| vec2< T > | pos (const T &t) const |
| get a position on ray given t | |
| T | intersect (const ray2 &r) const |
| intersect for t value | |
| vec2< T > | intersectPos (const ray2 &r) const |
| intersect for a position | |
Public Attributes | |
| vec2< T > | p |
| vec2< T > | d |
| position | |
|
|||||||||
|
Definition at line 32 of file ray2.h. References gutz::ray2< T >::d, and gutz::ray2< T >::p. |
|
||||||||||||||||
|
Definition at line 33 of file ray2.h. References gutz::ray2< T >::d, and gutz::ray2< T >::p. |
|
||||||||||
|
Definition at line 34 of file ray2.h. References gutz::ray2< T >::d, gutz::ray2< T >::p, and r. |
|
|||||||||
|
|
|
||||||||||
|
intersect for t value
Definition at line 48 of file ray2.h. References gutz::ray2< T >::d, gutz::ray2< T >::p, and r. Referenced by gutz::ray2< T >::intersectPos(). |
|
||||||||||
|
intersect for a position
Definition at line 56 of file ray2.h. References gutz::ray2< T >::intersect(), gutz::ray2< T >::pos(), and r. |
|
||||||||||
|
Definition at line 37 of file ray2.h. References gutz::ray2< T >::d, gutz::ray2< T >::p, and r. |
|
||||||||||
|
get a position on ray given t
Definition at line 43 of file ray2.h. References gutz::ray2< T >::d, gutz::ray2< T >::p, and t. Referenced by gutz::ray2< T >::intersectPos(). |
|
|||||
|
position
Definition at line 62 of file ray2.h. Referenced by gutz::ray2< T >::intersect(), gutz::ray2< T >::operator=(), gutz::ray2< T >::pos(), and gutz::ray2< T >::ray2(). |
|
|||||
|
Definition at line 61 of file ray2.h. Referenced by gutz::ray2< T >::intersect(), gutz::ray2< T >::operator=(), gutz::ray2< T >::pos(), and gutz::ray2< T >::ray2(). |