diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-05 22:55:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-05 22:55:56 +0100 |
| commit | 34afbd6ca21d2b960573d787e6eae46fa86b200e (patch) | |
| tree | 08450aeff4c67fb300428e705910265e6cd59943 /src/3d/renderer_pipelines.cc | |
| parent | 35c9ebb0a7ce0e726f631a2b04bb26098926cfab (diff) | |
style: run clang-format to adhere to coding style
Diffstat (limited to 'src/3d/renderer_pipelines.cc')
| -rw-r--r-- | src/3d/renderer_pipelines.cc | 12 |
1 files changed, 6 insertions, 6 deletions
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)); |
