Exemple #1
0
bool Voxel::operator<=(const Voxel &other) const
{
	return getValue() <= other.getValue();
};
Exemple #2
0
bool Voxel::operator==(const Voxel &other) const
{
	return (getValue() == other.getValue());
};
Exemple #3
0
bool Voxel::operator>(const Voxel &other) const
{
	return getValue() > other.getValue();
};
Exemple #4
0
Voxel::Voxel(const Voxel &other)
{
	setValue(other.getValue());
}