ClanLib
2.3.7
|
2D line ray More...
#include <line_ray.h>
Public Member Functions | |
CL_LineRay2x () | |
CL_LineRay2x (const CL_LineRay2x< Type > ©) | |
CL_LineRay2x (const CL_Vec2< Type > &point_p, const CL_Vec2< Type > &direction_v) | |
Operators | |
CL_LineRay2x< Type > & | operator= (const CL_LineRay2x< Type > ©) |
= operator. More... | |
bool | operator== (const CL_LineRay2x< Type > &line) const |
== operator. More... | |
bool | operator!= (const CL_LineRay2x< Type > &line) const |
!= operator. More... | |
Public Attributes | |
CL_Vec2< Type > | p |
Start point on the line ray. More... | |
CL_Vec2< Type > | v |
2D line ray
A ray has a start point and a direction
These line templates are defined for: int (CL_LineRay2i), float (CL_LineRay2f), double (CL_LineRay2d)
|
inline |
|
inline |
|
inline |
|
inline |
!= operator.
|
inline |
= operator.
|
inline |
== operator.
CL_Vec2<Type> CL_LineRay2x< Type >::p |
Start point on the line ray.
Referenced by CL_LineRay2x< int >::CL_LineRay2x(), CL_LineRay2x< int >::operator!=(), CL_LineRay2x< int >::operator=(), and CL_LineRay2x< int >::operator==().
CL_Vec2<Type> CL_LineRay2x< Type >::v |