载入中...
搜索中...
未找到
#include "physics/bake_graphics/RigidBakePresentation.h"#include <cmath>#include <glm/gtc/matrix_transform.hpp>#include <glm/gtc/quaternion.hpp>#include <numbers>#include "graphics/RenderSystem.h"#include "graphics/RenderSystem3D.h"#include "physics/backend/bake/RigidPlayback.h"命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::physics |
| Optional physics backend for vehicle mobility and body attach. | |
函数 | |
| Result< void > | eve::physics::submitRigidPlayback (const RigidPlayback &player, PersistentId identity, graphics::Renderable3D &target) |
| Sample a metre-space rigid player into a live renderer's world matrix, preserving mesh scale. @ownership Borrows player and target only during this call; retains no pointers, handles or callbacks. @lifetime Caller must resolve a live target each call. Either object may be destroyed after return. @thread ECS/render owner thread, outside concurrent mutation; caller must exclude other transform writers. | |
| Result< void > | eve::physics::submitRigidPlayback (const RigidPlayback &player, PersistentId identity, graphics::Renderable2D &target) |
| Submit planar pixel playback to a live 2D renderer, converting quaternion rotation to degrees. @ownership Borrows both objects only during the call; no persistent link or callback. @lifetime Caller resolves a live target each call; either object may be destroyed after return. @thread ECS/render owner thread, excluding other transform writers. | |