载入中...
搜索中...
未找到
PixelWorldPhysics.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include "physics/PhysicsLink.h"
#include "pixelworld/PixelWorld.h"
#include <cstdint>
#include <memory>
#include <vector>

浏览源代码.

类

struct  eve::pixelworld_physics::FragmentCollisionRect
 One deterministic axis-aligned fixture produced from a fragment bitmap. 更多...
 
struct  eve::pixelworld_physics::FragmentBodyConfig
 Policy for dynamic fragment fixture creation and terrain settlement. 更多...
 
struct  eve::pixelworld_physics::FragmentSettleReceipt
 Receipt for one checked fragment-body settlement poll. 更多...
 
struct  eve::pixelworld_physics::TerrainCollisionSyncReceipt
 Counters for one transactional dirty-Chunk terrain collision sync. 更多...
 
struct  eve::pixelworld_physics::TerrainCollisionContour
 One simplified local-space boundary contour generated for a terrain Chunk. 更多...
 
struct  eve::pixelworld_physics::PixelTerrainContact
 Deterministic contact returned by an authoritative terrain probe or sweep. 更多...
 
class  eve::pixelworld_physics::PixelFragmentBody
 Owning detached bitmap plus a non-owning, stale-safe dynamic body link. 更多...
 
class  eve::pixelworld_physics::PixelTerrainCollisionCache
 Incremental static collision projection of authoritative PixelWorld chunks. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 
namespace  eve::pixelworld_physics
 

枚举

enum class  eve::pixelworld_physics::FragmentSettleDisposition : std::uint8_t { eve::pixelworld_physics::StillAwake , eve::pixelworld_physics::Rasterized }
 Observable outcome of polling a fragment body for settlement. 更多...
 

函数

eve::Result< std::vector< TerrainCollisionContour > > eve::pixelworld_physics::extractTerrainContours (const eve::pixelworld::PixelWorld &pixelWorld, int chunkX, int chunkY, std::uint32_t maximumVertices=4096)
 Extract simplified binary Marching-Squares-equivalent boundary chains for one Chunk.
 
eve::Result< PixelTerrainContact > eve::pixelworld_physics::probeTerrainCircle (const eve::pixelworld::PixelWorld &pixelWorld, float centerX, float centerY, float radius, std::uint32_t maximumCells=4096)
 Probe a circular character contact directly against authoritative solid material cells.
 
eve::Result< PixelTerrainContact > eve::pixelworld_physics::sweepTerrainCircle (const eve::pixelworld::PixelWorld &pixelWorld, float startX, float startY, float endX, float endY, float radius, std::uint32_t maximumCells=16384)
 Sweep a circular character shape continuously through authoritative solid material cells.