Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
destruction_event.hpp
Go to the documentation of this file.
1
7
8
#pragma once
9
10
#include <glm/vec3.hpp>
11
#include <toast/events/event.hpp>
12
13
namespace
event {
14
15
struct
DestructionEvent :
public
Event<DestructionEvent> {
16
glm::vec3 position;
17
int
voxel_count;
18
19
DestructionEvent(glm::vec3 position,
int
voxel_count) : position(position), voxel_count(voxel_count) { }
20
};
21
22
}
engine
src
toast
voxel
destruction_event.hpp
Generated by
1.17.0