tirbofish/dropbear · commit
f2fb8a55fd76edae74e84281dc75dc996a31e301
refactor: organise dropbear headers
Signature present but could not be verified.
Unverified
@@ -74,6 +74,7 @@ kotlin { val dropbear by creating { defFile(project.file("src/dropbear.def")) includeDirs.headerFilterOnly(project.file("headers")) + compilerOpts("-I${project.file("headers").absolutePath}") } } } @@ -0,0 +1,18 @@ +#ifndef DROPBEAR_ENTITYTRANSFORM_H +#define DROPBEAR_ENTITYTRANSFORM_H + +#include "../dropbear_common.h" +#include "../dropbear_math.h" + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +DROPBEAR_NATIVE dropbear_get_transform(const World* world_ptr, HANDLE entity_handle, NativeEntityTransform* out_transform); +DROPBEAR_NATIVE dropbear_propagate_transform(const World* world_ptr, HANDLE entity_id, NativeTransform* out_transform); +DROPBEAR_NATIVE dropbear_set_transform(const World* world_ptr, HANDLE entity_id, NativeEntityTransform transform); + +#ifdef __cplusplus +} // extern "C" +#endif // __cplusplus +#endif // DROPBEAR_ENTITYTRANSFORM_H @@ -0,0 +1,17 @@ +#ifndef DROPBEAR_HIERARCHY_H +#define DROPBEAR_HIERARCHY_H + +#include "../dropbear_common.h" + +#ifdef __cplusplus +extern "C" {
Large diffs are not rendered by default. Showing the first 50 of 565 lines. Show full diff