added obround might need to optomize or add rotation in the futrue
This commit is contained in:
parent
092908819d
commit
c3361f640c
5 changed files with 91 additions and 0 deletions
22
include/arc/math/obround.h
Normal file
22
include/arc/math/obround.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef ARC_MATH_OBROUND_H_
|
||||
#define ARC_MATH_OBROUND_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ARC_Obround {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
int32_t r;
|
||||
int32_t h;
|
||||
} ARC_Obround;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARC_MATH_OBROUND_H_
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue