blob: 4a9f76b44ad0a6d6a956ac52c95055263293e8d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "../types.h"
#include "../Renderer2d.h"
#include <vector>
struct Sun {
f32 radius = 20.f;
i32 sectors = 180;
Mesh2D mesh;
void load(Renderer2d* renderer);
void update(f32 dtSeconds);
void render(Renderer2d* renderer);
void unload();
};
struct SummerTheme {
Sun sun;
void load(Renderer2d* renderer);
void update(f32 dtSeconds);
void render(Renderer2d* renderer);
void unload();
};
|