Small changes for the purpose of profiling.

This commit is contained in:
David Williams
2009-04-29 22:07:50 +00:00
parent 362bf9283a
commit 6da15633e6
5 changed files with 21 additions and 26 deletions

View File

@ -42,8 +42,6 @@ namespace PolyVox
void setNormal(const Vector3DFloat& normalToSet);
void setPosition(const Vector3DFloat& positionToSet);
std::string tostring(void) const;
public:
Vector3DFloat position;
Vector3DFloat normal;

View File

@ -72,11 +72,4 @@ namespace PolyVox
{
position = positionToSet;
}
std::string SurfaceVertex::tostring(void) const
{
std::stringstream ss;
ss << "SurfaceVertex: Position = (" << position.getX() << "," << position.getY() << "," << position.getZ() << "), Normal = " << normal;
return ss.str();
}
}