From 1b4cb2401e932a47c4e736a0197d22c7797b58ad Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 18 May 2013 21:58:51 +0000 Subject: asy 2.22 sources git-svn-id: svn://tug.org/texlive/trunk@30552 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/prc/writePRC.h | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'Build/source/utils/asymptote/prc/writePRC.h') diff --git a/Build/source/utils/asymptote/prc/writePRC.h b/Build/source/utils/asymptote/prc/writePRC.h index a1c794c919c..3be7569e3af 100644 --- a/Build/source/utils/asymptote/prc/writePRC.h +++ b/Build/source/utils/asymptote/prc/writePRC.h @@ -749,54 +749,54 @@ public: void serializeGeneralTransformation3d(PRCbitStream&) const; void serializeTransformation3d(PRCbitStream& pbs) const { serializeGeneralTransformation3d(pbs); } - double m_coef[16]; + double mat[4][4]; bool operator==(const PRCGeneralTransformation3d &t) const { - for (size_t i=0;i<16;i++) - if(m_coef[i]!=t.m_coef[i]) + for (size_t i=0;i<4;i++) + for (size_t j=0;j<4;j++) + if(mat[i][j]!=t.mat[i][j]) return false; return true; } bool operator<(const PRCGeneralTransformation3d &t) const { - for (size_t i=0;i<16;i++) - if(m_coef[i]!=t.m_coef[i]) + for (size_t i=0;i<4;i++) + for (size_t j=0;j<4;j++) + if(mat[i][j]!=t.mat[i][j]) { - return (m_coef[i] PRCGeneralTransformation3dList; -- cgit v1.2.3