Work on mesh generation code.

This commit is contained in:
David Williams
2007-10-05 23:28:52 +00:00
parent 08f1034d76
commit 3f79261f8f
3 changed files with 81 additions and 13 deletions

View File

@ -32,7 +32,7 @@ namespace Ogre
{
public:
SurfaceVertex();
SurfaceVertex(UIntVector3 positionToSet);
SurfaceVertex(UIntVector3 positionToSet, float alphaToSet);
SurfaceVertex(UIntVector3 positionToSet, Vector3 normalToSet);
friend bool operator==(const SurfaceVertex& lhs, const SurfaceVertex& rhs);
@ -50,9 +50,11 @@ namespace Ogre
std::string toString(void) const;
private:
UIntVector3 position;
Vector3 normal;
float alpha;
Vector3 normal;
UIntVector3 position;
SurfaceEdgeIterator edge;