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
7
extern
"C"
{
8
#endif
9
10
typedef
struct
ARC_Obround
{
11
int32_t
x
;
12
int32_t
y
;
13
int32_t
r
;
14
int32_t
h
;
15
}
ARC_Obround
;
16
17
typedef
struct
ARC_FObround
{
18
float
x
;
19
float
y
;
20
float
r
;
21
float
h
;
22
}
ARC_FObround
;
23
24
/**
25
* @brief casts Obround to FObround
26
*
27
* @param obround ARC_Obround to be casted
28
*
29
* @return ARC_FObround
30
*/
31
ARC_FObround
ARC_Obround_CastToFObround
(
ARC_Obround
*obround);
32
33
/**
34
* @brief casts FObround to Obround
35
*
36
* @param obround ARC_FObround to be casted
37
*
38
* @return ARC_Obround
39
*/
40
ARC_Obround
ARC_FObround_CastToObround
(
ARC_FObround
*obround);
41
42
#ifdef __cplusplus
43
}
44
#endif
45
46
#endif
// ARC_MATH_OBROUND_H_
47
ARC_Obround
struct ARC_Obround ARC_Obround
ARC_FObround
struct ARC_FObround ARC_FObround
ARC_FObround_CastToObround
ARC_Obround ARC_FObround_CastToObround(ARC_FObround *obround)
casts FObround to Obround
ARC_Obround_CastToFObround
ARC_FObround ARC_Obround_CastToFObround(ARC_Obround *obround)
casts Obround to FObround
ARC_FObround
Definition
obround.h:17
ARC_FObround::y
float y
Definition
obround.h:19
ARC_FObround::h
float h
Definition
obround.h:21
ARC_FObround::x
float x
Definition
obround.h:18
ARC_FObround::r
float r
Definition
obround.h:20
ARC_Obround
Definition
obround.h:10
ARC_Obround::r
int32_t r
Definition
obround.h:13
ARC_Obround::x
int32_t x
Definition
obround.h:11
ARC_Obround::y
int32_t y
Definition
obround.h:12
ARC_Obround::h
int32_t h
Definition
obround.h:14
include
arc
math
obround.h