Archeus 0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
point.h
Go to the documentation of this file.
1#ifndef ARC_MATH_POINT_H_
2#define ARC_MATH_POINT_H_
3
4#include <stdint.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct ARC_Point {
11 int32_t x;
12 int32_t y;
14
15typedef struct ARC_UPoint {
16 uint32_t x;
17 uint32_t y;
19
20typedef struct ARC_FPoint {
21 float x;
22 float y;
24
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif // ARC_MATH_POINT_H_
ARC_FPoint ARC_FPoint_Lerp(ARC_FPoint *start, ARC_FPoint *end, float t)
struct ARC_FPoint ARC_FPoint
struct ARC_UPoint ARC_UPoint
struct ARC_Point ARC_Point
float x
Definition point.h:21
float y
Definition point.h:22
int32_t y
Definition point.h:12
int32_t x
Definition point.h:11
uint32_t x
Definition point.h:16
uint32_t y
Definition point.h:17