mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 06:12:53 -06:00
plugin/tess2: fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@12352 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e53cd96903
commit
15d88366c3
2 changed files with 5 additions and 5 deletions
|
|
@ -14,7 +14,7 @@ void stdFree(void* userData, void* ptr)
|
|||
delete[] (byte *)ptr;
|
||||
}
|
||||
|
||||
void Tesselate(Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex,
|
||||
void Tesselate(const Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex,
|
||||
Vector<Tuple<int, int, int>> *triangle, Vector<int> *index,
|
||||
bool evenodd)
|
||||
{
|
||||
|
|
@ -75,13 +75,13 @@ void Tesselate(Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex,
|
|||
tessDeleteTess(tess);
|
||||
}
|
||||
|
||||
void Tesselate(Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<Tuple<int, int, int>>& triangle,
|
||||
void Tesselate(const Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<Tuple<int, int, int>>& triangle,
|
||||
bool evenodd)
|
||||
{
|
||||
Tesselate(shape, vertex, &triangle, NULL, evenodd);
|
||||
}
|
||||
|
||||
void Tesselate(Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<int>& index,
|
||||
void Tesselate(const Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<int>& index,
|
||||
bool evenodd)
|
||||
{
|
||||
Tesselate(shape, vertex, NULL, &index, evenodd);
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
namespace Upp {
|
||||
|
||||
void Tesselate(Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<Tuple<int, int, int>>& triangle, bool evenodd = false);
|
||||
void Tesselate(Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<int>& index, bool evenodd = false);
|
||||
void Tesselate(const Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<Tuple<int, int, int>>& triangle, bool evenodd = false);
|
||||
void Tesselate(const Vector<Vector<Pointf>>& shape, Vector<Pointf>& vertex, Vector<int>& index, bool evenodd = false);
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue