GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
gf_physics.h File Reference

Physics interface. More...

#include <gf_pre.h>
#include <gf_macro.h>
#include <gf_type/physics.h>
#include <gf_type/core.h>

Go to the source code of this file.

Functions

void gf_physics_begin (void)
 Initialize physics interface.
 
void gf_physics_end (void)
 Cleanup physics interface.
 
gf_physics_tgf_physics_create (gf_engine_t *engine)
 Create physics interface.
 
void gf_physics_destroy (gf_physics_t *physics)
 Destroy physics interface.
 

Detailed Description

Physics interface.

Definition in file gf_physics.h.

Function Documentation

◆ gf_physics_begin()

void gf_physics_begin ( void  )
extern

Initialize physics interface.

Definition at line 17 of file gf_physics.c.

◆ gf_physics_create()

gf_physics_t * gf_physics_create ( gf_engine_t engine)
extern

Create physics interface.

Parameters
engineEngine instance
Returns
Physics interface

Definition at line 21 of file gf_physics.c.

◆ gf_physics_destroy()

void gf_physics_destroy ( gf_physics_t physics)
extern

Destroy physics interface.

Parameters
physicsPhysics interface

Definition at line 29 of file gf_physics.c.

◆ gf_physics_end()

void gf_physics_end ( void  )
extern

Cleanup physics interface.

Definition at line 19 of file gf_physics.c.