39 template<
typename Type>
Vec2< Type > r
Definition: triangle_math.h:50
Triangled(const Trianglex< double > ©)
Definition: triangle_math.h:90
Triangled(const Vec2< double > &point_p, const Vec2< double > &point_q, const Vec2< double > &point_r)
Definition: triangle_math.h:91
2D vector
Definition: line.h:43
Trianglex(const Vec2< Type > &point_p, const Vec2< Type > &point_q, const Vec2< Type > &point_r)
Definition: triangle_math.h:54
Trianglex(const Trianglex< Type > ©)
Definition: triangle_math.h:53
Trianglex()
Definition: triangle_math.h:52
Vec2< Type > p
First triangle point.
Definition: triangle_math.h:44
bool point_inside(const Vec2< Type > &point) const
Return true if the point is inside the triangle.
Triangle()
Definition: triangle_math.h:71
Triangles - Integer.
Definition: triangle_math.h:68
Triangles - Float.
Definition: triangle_math.h:77
bool operator!=(const Trianglex< Type > &triangle) const
Definition: triangle_math.h:64
Triangle(const Vec2< int > &point_p, const Vec2< int > &point_q, const Vec2< int > &point_r)
Definition: triangle_math.h:73
Trianglef(const Trianglex< float > ©)
Definition: triangle_math.h:81
Triangled()
Definition: triangle_math.h:89
Triangles.
Definition: triangle_math.h:40
Trianglex< Type > & operator=(const Trianglex< Type > ©)
Definition: triangle_math.h:62
Trianglef()
Definition: triangle_math.h:80
Triangle(const Trianglex< int > ©)
Definition: triangle_math.h:72
Triangles - Double.
Definition: triangle_math.h:86
Trianglef(const Vec2< float > &point_p, const Vec2< float > &point_q, const Vec2< float > &point_r)
Definition: triangle_math.h:82
Definition: Application/application.h:35
Vec2< Type > q
Definition: triangle_math.h:47
bool operator==(const Trianglex< Type > &triangle) const
Definition: triangle_math.h:63