Corrected a small syntax error in the last commit of point_sampling
This commit is contained in:
parent
d5e181b445
commit
6e4edddcf5
|
@ -129,9 +129,9 @@ public:
|
|||
public:
|
||||
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.
|
||||
void AddFace(const FaceType &, const CoordType &) { assert(0); }
|
||||
|
|
Loading…
Reference in New Issue