<commit_before>#include <algorithm>

#include "LevelDefinition.h"
#include "LevelUtils.h"

LevelDefinition::EntityPlacementDef::EntityPlacementDef(EntityDefID id, std::vector<LevelDouble3> &&positions)
	: positions(std::move(positions))
{
	this->id = id;
}

LevelDefinition::LockPlacementDef::LockPlacementDef(LockDefID id, std::vector<LevelInt3> &&positions)
	: positions(std::move(positions))
{
	this->id = id;
}

LevelDefinition::TriggerPlacementDef::TriggerPlacementDef(TriggerDefID id, std::vector<LevelInt3> &&positions)
	: positions(std::move(positions))
{
	this->id = id;
}

void LevelDefinition::init(SNInt width, int height, WEInt depth)
{
	this->voxels.init(width, height, depth);
}

SNInt LevelDefinition::getWidth() const<commit_msg>Fill LevelDefinition voxels with zeroes by default.<commit_after>#include <algorithm>

#include "LevelDefinition.h"
#include "LevelUtils.h"

LevelDefinition::EntityPlacementDef::EntityPlacementDef(EntityDefID id, std::vector<LevelDouble3> &&positions)
	: positions(std::move(positions))
{
	this->id = id;
}

LevelDefinition::LockPlacementDef::LockPlacementDef(LockDefID id, std::vector<LevelInt3> &&positions)
	: positions(std::move(positions))
{
	this->id = id;
}

LevelDefinition::TriggerPlacementDef::TriggerPlacementDef(TriggerDefID id, std::vector<LevelInt3> &&positions)
	: positions(std::move(positions))
{
	this->id = id;
}

void LevelDefinition::init(SNInt width, int height, WEInt depth)
{
	this->voxels.init(width, height, depth);
	this->voxels.fill(0);
}

SNInt LevelDefinition::getWidth() const
{'fraction_non_alphanumeric': 0.14874436574372182, 'fraction_numerical': 0.004507405022537025, 'mean_word_length': 8.835443037974683, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5989399', 'n_tokens_mistral': 523, 'n_tokens_neox': 509, 'n_words': 86}