diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-01 08:39:16 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-01 08:39:16 +0300 |
| commit | af281721b24a4c80d4c640c3d79a293dba2bee61 (patch) | |
| tree | db70c0501e871171eef66516fc958ee42a256af0 /adapters/fparkan-render-vulkan/src/ffi.rs | |
| parent | 590c8f39b935f34fc6a4f9c033520c2c0359253d (diff) | |
| download | fparkan-af281721b24a4c80d4c640c3d79a293dba2bee61.tar.xz fparkan-af281721b24a4c80d4c640c3d79a293dba2bee61.zip | |
fix(render): show building damage stages after projectile hits
Update the contacted provider with the native stage rule. Upload the authored variants with their original material and pose, and draw the active stage only. The Two Fortresses plant switches in a validated before/after capture.
Diffstat (limited to 'adapters/fparkan-render-vulkan/src/ffi.rs')
| -rw-r--r-- | adapters/fparkan-render-vulkan/src/ffi.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/adapters/fparkan-render-vulkan/src/ffi.rs b/adapters/fparkan-render-vulkan/src/ffi.rs index 92e4291e..72df48e2 100644 --- a/adapters/fparkan-render-vulkan/src/ffi.rs +++ b/adapters/fparkan-render-vulkan/src/ffi.rs @@ -25,8 +25,8 @@ mod validation; const FRAME_VIEWS_PER_SLOT: usize = 3; pub use self::asset_mesh::{ - node38_pose, node38_pose_from_hierarchy, node38_pose_relative_to_root, - node38_pose_relative_to_root_from_hierarchy, project_cockpit_msh, + append_msh_damage_stages, node38_pose, node38_pose_from_hierarchy, + node38_pose_relative_to_root, node38_pose_relative_to_root_from_hierarchy, project_cockpit_msh, project_land_msh_lod_to_static_mesh_in_world_space, project_land_msh_to_static_mesh, project_land_msh_to_static_mesh_in_world_space, project_land_msh_to_static_mesh_in_xy_frame, project_msh_to_static_mesh, project_msh_to_static_mesh_in_world_space, @@ -39,8 +39,8 @@ pub use self::asset_mesh::{ project_msh_to_static_mesh_in_world_space_with_transform, project_msh_to_static_mesh_in_xy_frame, project_msh_to_static_mesh_in_xy_frame_with_node_fallback_poses, - project_msh_to_static_mesh_in_xy_frame_with_node_sampled_poses, VulkanAssetMeshError, - VulkanNodePose, VulkanStaticXyFrame, + project_msh_to_static_mesh_in_xy_frame_with_node_sampled_poses, DamageStageRanges, + VulkanAssetMeshError, VulkanNodePose, VulkanStaticXyFrame, }; pub use self::capabilities::{ probe_vulkan_runtime_capabilities, probe_vulkan_runtime_capabilities_for_request, |
