diff options
author | Frederico Linhares <fred@linhares.blue> | 2023-09-28 15:25:13 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2023-09-28 15:54:55 -0300 |
commit | 6899fac50a2992053e6eea627cb83da1d40e3d79 (patch) | |
tree | 0dfe0cb3df481582c5c7ad58de77fda080d0d8cf /src/vk/renderer.cpp | |
parent | 607255a8fd901da7a3d6dcdafe9c0585f8c81521 (diff) |
styl Rename ODO structures to UDO
* src/vk/uniform_data_object.hpp: I do not remember why I named these
structs ODO. UDO makes more sense as they represents "uniform data
objects."
Diffstat (limited to 'src/vk/renderer.cpp')
-rw-r--r-- | src/vk/renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vk/renderer.cpp b/src/vk/renderer.cpp index b886175..c7eda2e 100644 --- a/src/vk/renderer.cpp +++ b/src/vk/renderer.cpp @@ -209,13 +209,13 @@ Renderer::draw() clear_values[1].depthStencil = {1.0f, 0}; { // Update world uniform buffer - ODOWorld3D_Vert ubo_world_3d_vert{}; + UDOWorld3D_Vert ubo_world_3d_vert{}; ubo_world_3d_vert.ambient_light_color = glm::vec4{0.25, 0.25, 0.25, 1.0}; cg_core.vk_graphics_pipeline_3d->ub_world_vert[image_index].copy_data( &ubo_world_3d_vert); - ODOWorld3D_Frag ubo_world_3d_frag{}; + UDOWorld3D_Frag ubo_world_3d_frag{}; ubo_world_3d_frag.directional_light_direction = glm::vec3{-0.57735, 0.57735, -0.57735}; ubo_world_3d_frag.directional_light_color = |