diff options
Diffstat (limited to 'src/vector_4d.cpp')
-rw-r--r-- | src/vector_4d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vector_4d.cpp b/src/vector_4d.cpp index 7bdcbab..ba46bda 100644 --- a/src/vector_4d.cpp +++ b/src/vector_4d.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2022 Frederico de Oliveira Linhares + * Copyright 2022-2024 Frederico de Oliveira Linhares * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -348,7 +348,7 @@ static mrb_value cg_cVector4D_draw_rectangle(mrb_state *mrb, mrb_value self) { mrb_value view_value; - VK::View2D *view_2d; + BluCat::View2D *view_2d; std::shared_ptr<glm::vec3> *color; auto ptr = (std::shared_ptr<glm::vec4>*)DATA_PTR(self); @@ -358,7 +358,7 @@ cg_cVector4D_draw_rectangle(mrb_state *mrb, mrb_value self) glm::vec4 position( (*ptr)->x, (*ptr)->y, (*ptr)->x + (*ptr)->z, (*ptr)->y + (*ptr)->w); - VK::Rectangle rect{position, (**color)}; + BluCat::Rectangle rect{position, (**color)}; auto &rectangles = view_2d->rectangles_to_draw[ cg_core.vk_swapchain->current_frame]; rectangles.push_back(rect); |