f32 pixels_per_unit
Ratio of texture pixels to world units (Texture Width / World Width)
Definition minimap.hpp:44
f32 anchor_z
Definition minimap.hpp:42
f32 anchor_x
Definition minimap.hpp:40
std::vector< glm::vec3 > markers
Definition minimap.hpp:45
Defines settings for a minimap.
Definition minimap.hpp:39
Buffer Export(const MinimapConfig &minimap)
Converts a minimap config to a binary file representation.
MinimapConfig Import(BufferView buffer)
Parses a binary file and converts it to a MinimapConfig struct.
std::vector< SPosition > Convert(const MinimapConfig &minimap, unsigned int texture_width)
Converts a minimap config to a simplified representation.
bool IsOfType(BufferView buffer)
Tests if the provided file is a minimap config.