Corrected a small syntax error in the last commit of point_sampling

This commit is contained in:
Paolo Cignoni 2014-04-17 10:11:43 +00:00
parent d5e181b445
commit 6e4edddcf5
1 changed files with 2 additions and 2 deletions

View File

@ -129,9 +129,9 @@ public:
public: public:
std::vector<VertexType *> sampleVec; std::vector<VertexType *> sampleVec;
void AddVert(const VertexType &p) void AddVert(VertexType &p)
{ {
sampleVec->push_back(&p); sampleVec.push_back(&p);
} }
// This sampler should be used only for getting vertex pointers. Meaningless in other case. // This sampler should be used only for getting vertex pointers. Meaningless in other case.
void AddFace(const FaceType &, const CoordType &) { assert(0); } void AddFace(const FaceType &, const CoordType &) { assert(0); }