Flecs
v4.1
A fast entity component system (ECS) for C & C++
Toggle main menu visibility
Loading...
Searching...
No Matches
script_math.h
Go to the documentation of this file.
1
5
6
#ifdef FLECS_SCRIPT_MATH
7
8
#ifndef FLECS_SCRIPT
9
#define FLECS_SCRIPT
10
#endif
11
18
19
#ifndef FLECS_SCRIPT_MATH_H
20
#define FLECS_SCRIPT_MATH_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
FLECS_API
27
extern
ECS_COMPONENT_DECLARE
(EcsScriptRng);
28
30
typedef
struct
{
31
uint64_t seed;
32
void
*impl;
33
} EcsScriptRng;
34
43
FLECS_API
44
void
FlecsScriptMathImport(
45
ecs_world_t
*world);
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
52
54
55
#endif
ecs_world_t
struct ecs_world_t ecs_world_t
A world is the container for all ECS data and supporting features.
Definition
flecs.h:429
ECS_COMPONENT_DECLARE
#define ECS_COMPONENT_DECLARE(id)
Forward declare a component.
Definition
flecs_c.h:112