diff options
author | Karl Berry <karl@freefriends.org> | 2019-08-10 16:06:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-08-10 16:06:35 +0000 |
commit | bbb53f06c6f48d4c675d250829032e09f4065a86 (patch) | |
tree | 0583c905a5d67f3e1447456048b2e479311e4e83 /Build/source/utils/asymptote/bezierpatch.h | |
parent | efd1dbbaa1332a9534c25024a0c295f423714851 (diff) |
asy 2.52 sources
git-svn-id: svn://tug.org/texlive/trunk@51856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/bezierpatch.h')
-rw-r--r-- | Build/source/utils/asymptote/bezierpatch.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/bezierpatch.h b/Build/source/utils/asymptote/bezierpatch.h index 3769d976e05..b8c23574d7f 100644 --- a/Build/source/utils/asymptote/bezierpatch.h +++ b/Build/source/utils/asymptote/bezierpatch.h @@ -206,6 +206,24 @@ struct BezierPatch Z < Min.getz() || z > Max.getz(); } + static void clear() { + nvertices=0; + vertexbuffer.clear(); + indices.clear(); + } + + static void Clear() { + Nvertices=0; + Vertexbuffer.clear(); + Indices.clear(); + } + + static void tClear() { + Ntvertices=0; + tVertexbuffer.clear(); + tIndices.clear(); + } + ~BezierPatch() {} void render(const triple *p, |