nishbox/engine/include/gf_physics.h
2025-04-16 17:51:23 +09:00

49 lines
800 B
C

/**
* @file gf_physics.h
* @~english
* @brief Physics interface
*/
#ifndef __GF_PHYSICS_H__
#define __GF_PHYSICS_H__
#include <gf_pre.h>
#include <gf_macro.h>
/* Type */
#include <gf_type/physics.h>
#include <gf_type/core.h>
/* Engine */
/* Standard */
/**
* @~english
* @brief Initialize physics interface
*/
GF_EXPORT void gf_physics_begin(void);
/**
* @~english
* @brief Cleanup physics interface
*/
GF_EXPORT void gf_physics_end(void);
/**
* @~english
* @brief Create physics interface
* @param engine Engine instance
* @return Physics interface
*/
GF_EXPORT gf_physics_t* gf_physics_create(gf_engine_t* engine);
/**
* @~english
* @brief Destroy physics interface
* @param physics Physics interface
*/
GF_EXPORT void gf_physics_destroy(gf_physics_t* physics);
#endif