载入中...
搜索中...
未找到
JoltWorldFactory.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
4namespace eve::physics::jolt {
8[[nodiscard]] EVENGINE_API_WORLD eve::Result<std::unique_ptr<IWorldBackend3D>> makeWorld(World3D&, float, float, float,
9 bool);
10} // namespace eve::physics::jolt
#define EVENGINE_API_WORLD
Definition Export.h:109
Move-only operation result carrying either a value or Status.
Definition Result.h:176
eve::Result< std::unique_ptr< IWorldBackend3D > > makeWorld(World3D &owner, float x, float y, float z, bool sleep)
Creates the native Jolt provider; world owns it and calls it only on the simulation thread....
Definition JoltWorld.cpp:98