High-level wrapper around Flecs, a powerful ECS (Entity Component System) library, written in Zig language
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
pub usingnamespace @cImport({ |
|
@cDefine("FLECS_NO_CPP", {}); |
|
@cDefine("FLECS_USE_OS_ALLOC", {}); |
|
if (@import("builtin").mode == .Debug) |
|
@cDefine("FLECS_SANITIZE", {}); |
|
|
|
// Flecs' default NULL macro causes issues. |
|
@cDefine("NULL", "0"); |
|
|
|
@cInclude("flecs.h"); |
|
});
|
|
|