Loading...
Searching...
No Matches
point.h
Go to the documentation of this file.
#ifndef ARC_MATH_POINT_H_
#define ARC_MATH_POINT_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ARC_Point {
int32_t x;
int32_t y;
} ARC_Point;
typedef struct ARC_UPoint {
uint32_t x;
uint32_t y;
} ARC_UPoint;
typedef struct ARC_FPoint {
float x;
float y;
} ARC_FPoint;
ARC_FPoint ARC_FPoint_Lerp(ARC_FPoint *start, ARC_FPoint *end, float t);
#ifdef __cplusplus
}
#endif
#endif // ARC_MATH_POINT_H_
ARC_FPoint_Lerp
ARC_FPoint ARC_FPoint_Lerp(ARC_FPoint *start, ARC_FPoint *end, float t)
ARC_FPoint
struct ARC_FPoint ARC_FPoint
ARC_UPoint
struct ARC_UPoint ARC_UPoint
ARC_Point
struct ARC_Point ARC_Point
ARC_FPoint
Definition point.h:20
ARC_FPoint::x
float x
Definition point.h:21
ARC_FPoint::y
float y
Definition point.h:22
ARC_Point
Definition point.h:10
ARC_Point::y
int32_t y
Definition point.h:12
ARC_Point::x
int32_t x
Definition point.h:11
ARC_UPoint
Definition point.h:15
ARC_UPoint::x
uint32_t x
Definition point.h:16
ARC_UPoint::y
uint32_t y
Definition point.h:17