*** empty log message ***
This commit is contained in:
parent
0ef532be67
commit
2324d22a95
|
@ -24,6 +24,9 @@
|
|||
History
|
||||
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.2 2004/03/29 14:26:38 cignoni
|
||||
Error in color
|
||||
|
||||
Revision 1.1 2004/03/29 08:36:26 cignoni
|
||||
First working version!
|
||||
|
||||
|
@ -32,6 +35,9 @@ First working version!
|
|||
#ifndef __VCG_VERTEX_PLUS_COMPONENT
|
||||
#define __VCG_VERTEX_PLUS_COMPONENT
|
||||
|
||||
#include <vcg/traced_vector.h>
|
||||
|
||||
|
||||
namespace vcg {
|
||||
namespace vert {
|
||||
/*
|
||||
|
@ -62,6 +68,17 @@ private:
|
|||
template <class T> class Coord3f: public Coord<vcg::Point3f, T> {};
|
||||
template <class T> class Coord3d: public Coord<vcg::Point3d, T> {};
|
||||
|
||||
template <class A, class T> class CoordOpt: public T {
|
||||
public:
|
||||
typedef A CoordType;
|
||||
typedef typename CoordType::ScalarType ScalarType;
|
||||
CoordType &P() { return CAT< TVector<VertType>,CoordType>::Get((VertType*)this); }
|
||||
CoordType &UberP() { return CAT< TVector<VertType>,CoordType>::Get((VertType*)this); }
|
||||
};
|
||||
template <class T> class Coord3fOpt: public CoordOpt<vcg::Point3f, T> {};
|
||||
template <class T> class Coord3dOpt: public CoordOpt<vcg::Point3d, T> {};
|
||||
|
||||
|
||||
/*-------------------------- NORMAL ----------------------------------------*/
|
||||
|
||||
template <class T> class EmptyNormal: public T {
|
||||
|
|
Loading…
Reference in New Issue