#pragma once #include "Section.h" #include "Drawable.h" void Section::SetCamera( Logger& logger, DirectX::XMVECTOR upDirection, DirectX::XMVECTOR eyePosition, DirectX::XMVECTOR focusPosition) noexcept { for (auto& shape : shapes) { shape->SetCamera(logger, upDirection, eyePosition, focusPosition); } }; void Section::DrawShapes( Graphics& gfx, Logger& logger) noexcept { for (auto& shape : shapes) { // shape->Update(dt); TODO shape->ExecuteBind(gfx, logger); shape->Draw(gfx, logger); } };