Archeus 0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
obround.h
Go to the documentation of this file.
1#ifndef ARC_MATH_OBROUND_H_
2#define ARC_MATH_OBROUND_H_
3
4#include <stdint.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct ARC_Obround {
11 int32_t x;
12 int32_t y;
13 int32_t r;
14 int32_t h;
16
17typedef struct ARC_FObround {
18 float x;
19 float y;
20 float r;
21 float h;
23
24/**
25 * @brief casts Obround to FObround
26 *
27 * @param obround ARC_Obround to be casted
28 *
29 * @return ARC_FObround
30 */
32
33/**
34 * @brief casts FObround to Obround
35 *
36 * @param obround ARC_FObround to be casted
37 *
38 * @return ARC_Obround
39 */
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif // ARC_MATH_OBROUND_H_
47
struct ARC_Obround ARC_Obround
struct ARC_FObround ARC_FObround
ARC_Obround ARC_FObround_CastToObround(ARC_FObround *obround)
casts FObround to Obround
ARC_FObround ARC_Obround_CastToFObround(ARC_Obround *obround)
casts Obround to FObround
float y
Definition obround.h:19
float h
Definition obround.h:21
float x
Definition obround.h:18
float r
Definition obround.h:20
int32_t r
Definition obround.h:13
int32_t x
Definition obround.h:11
int32_t y
Definition obround.h:12
int32_t h
Definition obround.h:14