Flecs: include/flecs/addons/script_math.h Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

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
23extern "C" {
24#endif
25
26FLECS_API
27extern ECS_COMPONENT_DECLARE(EcsScriptRng);
28
29/* Randon number generator */
30typedef struct {
31 uint64_t seed;
32 void *impl;
33} EcsScriptRng;
34
43FLECS_API
44void 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:425
ECS_COMPONENT_DECLARE
#define ECS_COMPONENT_DECLARE(id)
Forward declare a component.
Definition flecs_c.h:112