载入中...
搜索中...
未找到
Box2DSimulationBackend.h
浏览该文件的文档.
1#pragma once
3namespace eve::physics::detail {
12[[nodiscard("retain the backend until its borrowed world is destroyed")]]
13EVENGINE_API_WORLD std::unique_ptr<ISimulationBackend> makeBox2DSimulationBackend(b2World* world);
14} // namespace eve::physics::detail
#define EVENGINE_API_WORLD
Definition Export.h:109
Backend-neutral, observable fixed-step contract for physics domains.
std::unique_ptr< ISimulationBackend > makeBox2DSimulationBackend(b2World *world)
Creates the built-in Box2D CPU backend adapter.