missing vcg:: namespace in types...

This commit is contained in:
Paolo Cignoni 2010-09-01 22:01:03 +00:00
parent 101e46bc6b
commit 0dbf1bf305
1 changed files with 5 additions and 5 deletions

View File

@ -3,27 +3,27 @@
#include <QString>
#include <cstdlib>
inline QString toString( const Point4f& p ){
inline QString toString( const vcg::Point4f& p ){
QString s;
s.sprintf("%f %f %f %f", p[0], p[1], p[2], p[3]);
return s;
}
inline QString toString( const Point3f& p ){
inline QString toString( const vcg::Point3f& p ){
QString s;
s.sprintf("%f %f %f", p[0], p[1], p[2]);
return s;
}
inline QString toString( const Point2f& p ){
inline QString toString( const vcg::Point2f& p ){
QString s;
s.sprintf("%f %f", p[0], p[1]);
return s;
}
inline QString toString( const Point2i& p ){
inline QString toString( const vcg::Point2i& p ){
QString s;
s.sprintf("%d %d", p[0], p[1]);
return s;
}
inline QString toString(Matrix44f& m){
inline QString toString(vcg::Matrix44f& m){
QString mat;
for(int i=0; i<3; i++){
mat.append( toString( m.GetRow4(i) ) );