added shape_get_points
This commit is contained in:
parent
919aa8406b
commit
a84e8dbc5b
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "vmath.h"
|
||||
#include "transform.h"
|
||||
#include "list.h"
|
||||
|
||||
typedef struct Shape Shape;
|
||||
|
||||
|
@ -21,6 +22,7 @@ extern Vector shape_get_point_transformed(Shape* self, size_t at, Transform tran
|
|||
extern void shape_set_point(Shape* self, size_t at, Vector point);
|
||||
extern void shape_add_point(Shape* self, Vector point);
|
||||
extern void shape_insert_point(Shape* self, size_t at, Vector point);
|
||||
extern List* shape_get_points(Shape* self);
|
||||
extern Vector shape_remove_point(Shape* self, size_t at);
|
||||
|
||||
extern Vector shape_get_median_point(Shape* self);
|
||||
|
|
Loading…
Reference in a new issue