Subversion Repositories gelsvn

Rev

Rev 214 | Rev 357 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 214 Rev 220
Line 40... Line 40...
40
					A += q.A;
40
					A += q.A;
41
					b += q.b;
41
					b += q.b;
42
					c += q.c;
42
					c += q.c;
43
				}
43
				}
44
			
44
			
45
			float error(const CGLA::Vec3d& _p) const
45
			float error(const CGLA::Vec3d& p) const
46
				{
46
				{
47
					CGLA::Vec3d p(_p);
-
 
48
					return dot(p,A*p) + 2*dot(b,p)+ c;
47
					return dot(p,A*p) + 2*dot(b,p)+ c;
49
				}
48
				}
50
 
49
 
51
			double determinant() const
50
			double determinant() const
52
				{
51
				{