17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-19 00:19:19 +02:00

pch migration to modules [wip]

This commit is contained in:
maj00r
2026-09-09 20:35:26 +02:00
parent c3007e3237
commit 3f7960aad5
350 changed files with 5958 additions and 3059 deletions

View File

@@ -1,4 +1,20 @@
/*
module;
#include <cstdint>
#include "glad/glad.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <map>
#include <vector>
#include "utilities/Globals_macros.h"
module eu07.rendering.openglparticles;
import eu07.utilities.globals;
import eu07.rendering.particles;
import eu07.rendering.openglcamera;
import eu07.simulation.simulation;
import eu07.utilities.logs;
/*
This Source Code Form is subject to the
terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not
@@ -7,13 +23,7 @@ obtain one at
http://mozilla.org/MPL/2.0/.
*/
#include "stdafx.h"
#include "rendering/openglparticles.h"
#include "rendering/particles.h"
#include "rendering/openglcamera.h"
#include "simulation/simulation.h"
#include "utilities/Logs.h"
std::vector<std::pair<glm::vec3, glm::vec2>> const billboard_vertices {