-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPoint.h
More file actions
28 lines (20 loc) · 711 Bytes
/
Point.h
File metadata and controls
28 lines (20 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// Created by Ryan.Zurrin001 on 12/16/2021.
//
#ifndef PHYSICSFORMULA_POINT_H
#define PHYSICSFORMULA_POINT_H
#include "Vector.h"
#include <float.h>
namespace rez
{
typedef Vector2f Point2d;
typedef Vector3f Point3d;
static const Point2d DEFAULT_POINT_2D(FLT_MAX, FLT_MAX);
static const Point3d DEFAULT_POINT_3D(FLT_MAX, FLT_MAX, FLT_MAX);
bool sort2DLRTB(const Point2d& a, const Point2d& b);
bool sort3DTBLR(const Point3d& a, const Point3d& b);
bool sort2DTBLR(const Point2d& a, const Point2d& b);
bool sort2DbyX(const Point2d& a, const Point2d& b);
bool sort2DbyY(const Point2d& a, const Point2d& b);
}
#endif //PHYSICSFORMULA_POINT_H