Cleaning up decimation.
This commit is contained in:
@ -80,6 +80,18 @@ namespace Ogre
|
||||
return result;
|
||||
}
|
||||
|
||||
template <typename Type>
|
||||
IntegralVector3<Type> operator+(const IntegralVector3<Type>& lhs, const IntegralVector3<Type>& rhs)
|
||||
{
|
||||
IntegralVector3<Type> result;
|
||||
|
||||
result.x = lhs.x + rhs.x;
|
||||
result.y = lhs.y + rhs.y;
|
||||
result.z = lhs.z + rhs.z;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
typedef IntegralVector3<char> CharVector3;
|
||||
typedef IntegralVector3<short> ShortVector3;
|
||||
typedef IntegralVector3<int> IntVector3;
|
||||
|
@ -92,6 +92,8 @@ namespace Ogre
|
||||
|
||||
void igniteVoxel(UIntVector3 voxelToIgnite);
|
||||
|
||||
Vector3 computeNormal(const Vector3& position, NormalGenerationMethod normalGenerationMethod) const;
|
||||
|
||||
private:
|
||||
void markVoxelChanged(uint x, uint y, uint z);
|
||||
void markRegionChanged(uint firstX, uint firstY, uint firstZ, uint lastX, uint lastY, uint lastZ);
|
||||
|
Reference in New Issue
Block a user