diff options
author | Karl Berry <karl@freefriends.org> | 2018-04-03 22:35:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-04-03 22:35:04 +0000 |
commit | 36b8d1341af4a7ab1f5759d75ad1eecfc375c1f4 (patch) | |
tree | 12d09b686d2c18f245dc6fd492c09cdcd4c02ebc /Build/source/utils/asymptote/bezierpatch.h | |
parent | d73e029b665b866fe734e44508746a2cba513fd7 (diff) |
asy 2.42 sources
git-svn-id: svn://tug.org/texlive/trunk@47274 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/bezierpatch.h')
-rw-r--r-- | Build/source/utils/asymptote/bezierpatch.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/bezierpatch.h b/Build/source/utils/asymptote/bezierpatch.h index 826f65ac2c1..33c26cc506c 100644 --- a/Build/source/utils/asymptote/bezierpatch.h +++ b/Build/source/utils/asymptote/bezierpatch.h @@ -44,9 +44,8 @@ struct BezierPatch typedef GLuint VertexFunction(const triple &v, const triple& n, GLfloat *c); vertexFunction *pvertex; VertexFunction *pVertex; - bool empty; - BezierPatch() : empty(true) {} + BezierPatch() {} void init(double res, const triple& Min, const triple& Max, bool transparent, GLfloat *colors=NULL); @@ -192,7 +191,6 @@ struct BezierPatch } void clear() { - empty=true; nvertices=ntvertices=Nvertices=Ntvertices=0; buffer.clear(); indices.clear(); |