diff options
author | WlodekM <[email protected]> | 2024-06-16 10:35:45 +0300 |
---|---|---|
committer | WlodekM <[email protected]> | 2024-06-16 10:35:45 +0300 |
commit | abef6da56913f1c55528103e60a50451a39628b1 (patch) | |
tree | b3c8092471ecbb73e568cd0d336efa0e7871ee8d /src/SelectionBox.h |
initial commit
Diffstat (limited to 'src/SelectionBox.h')
-rw-r--r-- | src/SelectionBox.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/SelectionBox.h b/src/SelectionBox.h new file mode 100644 index 0000000..2f68f3c --- /dev/null +++ b/src/SelectionBox.h @@ -0,0 +1,16 @@ +#ifndef CC_SELECTIONBOX_H +#define CC_SELECTIONBOX_H +#include "Vectors.h" +#include "PackedCol.h" +/* Describes a selection box, and contains methods related to the selection box. + Copyright 2014-2023 ClassiCube | Licensed under BSD-3 +*/ +struct IGameComponent; +extern struct IGameComponent Selections_Component; + +void Selections_Render(void); +/* Adds or replaces the selection box with the given ID */ +CC_API void Selections_Add(cc_uint8 id, const IVec3* p1, const IVec3* p2, PackedCol color); +/* Removes the selection box with the givne ID */ +CC_API void Selections_Remove(cc_uint8 id); +#endif |