cpp_drawing/shapes/group.cpp
2025-09-26 15:42:44 +02:00

34 lines
709 B
C++

#include "group.hpp"
// void shapes::Group::Translate(const math::Vector& offset)
// {
// for (const auto& shape : m_shapes)
// {
// shape->Translate(offset);
// }
// }
// void shapes::Group::Rotate(const math::Vector& center, float angle)
// {
// for (const auto& shape : m_shapes)
// {
// shape->Rotate(center, angle);
// }
// }
// void shapes::Group::Scale(const math::Vector& center, float factor)
// {
// for (const auto& shape : m_shapes)
// {
// shape->Scale(center, factor);
// }
// }
// void shapes::Group::Draw(Renderer& renderer)
// {
// for (const auto& shape : m_shapes)
// {
// shape->Draw(renderer);
// }
// }