From af281721b24a4c80d4c640c3d79a293dba2bee61 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 09:39:16 +0400 Subject: 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. --- adapters/fparkan-render-vulkan/src/ffi.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'adapters/fparkan-render-vulkan/src/ffi.rs') 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, -- cgit v1.2.3