From ce6f12df4a3f9969f1e42aeaa3cfdd31e0602ae6 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 2 Jan 2009 12:18:25 +0000 Subject: Move filters into their own namespace Inkscape::Filters (from NR::) (bzr r7058) --- src/display/nr-3dutils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/display/nr-3dutils.cpp') diff --git a/src/display/nr-3dutils.cpp b/src/display/nr-3dutils.cpp index ffeaebe8e..dd1419f2b 100644 --- a/src/display/nr-3dutils.cpp +++ b/src/display/nr-3dutils.cpp @@ -136,11 +136,11 @@ void compute_surface_normal(Fvector &N, gdouble ss, NRPixBlock *in, int i, int j //std::cout << "(" << N[X_3D] << ", " << N[Y_3D] << ", " << N[Z_3D] << ")" << std::endl; } -void convert_coord(gdouble &x, gdouble &y, gdouble &z, Matrix const &trans) { +void convert_coord(gdouble &x, gdouble &y, gdouble &z, Geom::Matrix const &trans) { Point p = Point(x, y); p *= trans; - x = p[X]; - y = p[Y]; + x = p[Geom::X]; + y = p[Geom::Y]; z *= trans[0]; } -- cgit v1.2.3