From 34afbd6ca21d2b960573d787e6eae46fa86b200e Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 5 Mar 2026 22:55:56 +0100 Subject: style: run clang-format to adhere to coding style --- src/3d/renderer_pipelines.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/3d/renderer_pipelines.cc') diff --git a/src/3d/renderer_pipelines.cc b/src/3d/renderer_pipelines.cc index 57e71ae..be4a317 100644 --- a/src/3d/renderer_pipelines.cc +++ b/src/3d/renderer_pipelines.cc @@ -17,8 +17,8 @@ void Renderer3D::create_pipeline() { WGPURenderPipeline Renderer3D::create_pipeline_impl(bool use_bvh) { // Main SDF shader size_t size; - const char* shader_code = (const char*)( - GetAsset(AssetId::ASSET_SHADER_RENDERER_3D, &size)); + const char* shader_code = + (const char*)(GetAsset(AssetId::ASSET_SHADER_RENDERER_3D, &size)); // Compose the final shader by substituting the scene query implementation ShaderComposer::CompositionMap composition_map; @@ -134,8 +134,8 @@ WGPURenderPipeline Renderer3D::create_pipeline_impl(bool use_bvh) { void Renderer3D::create_mesh_pipeline() { size_t size; - const char* shader_code = (const char*)( - GetAsset(AssetId::ASSET_SHADER_MESH, &size)); + const char* shader_code = + (const char*)(GetAsset(AssetId::ASSET_SHADER_MESH, &size)); ShaderComposer::CompositionMap composition_map; if (bvh_enabled_) { @@ -261,8 +261,8 @@ void Renderer3D::create_mesh_pipeline() { void Renderer3D::create_skybox_pipeline() { size_t size; - const char* shader_code = (const char*)( - GetAsset(AssetId::ASSET_SHADER_SKYBOX, &size)); + const char* shader_code = + (const char*)(GetAsset(AssetId::ASSET_SHADER_SKYBOX, &size)); std::string composed_shader = ShaderComposer::Get().Compose({}, std::string(shader_code, size)); -- cgit v1.2.3