summaryrefslogtreecommitdiff
path: root/src/vector_4d.cpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2024-05-08 17:56:29 -0300
committerFrederico Linhares <fred@linhares.blue>2024-05-08 17:56:29 -0300
commit43821b0cffc5aa419c0218992f06f8962ae54a13 (patch)
tree97bdbbf710a78e6dcb181d92dd83e98d8b329c6d /src/vector_4d.cpp
parent70e156d47346ae3198c623e0af75e5703f894db3 (diff)
refa Rename graphical engine to BluCat
Diffstat (limited to 'src/vector_4d.cpp')
-rw-r--r--src/vector_4d.cpp6
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);