First checkin for OpenMesh 2.0
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@2 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
17
Doc/Examples/traits0.cc
Normal file
17
Doc/Examples/traits0.cc
Normal file
@@ -0,0 +1,17 @@
|
||||
struct DefaultTraits
|
||||
{
|
||||
typedef Vec3f Point;
|
||||
typedef Vec3f Normal;
|
||||
typedef Vec2f TexCoord;
|
||||
typedef Vec3uc Color;
|
||||
|
||||
VertexTraits {};
|
||||
HalfedgeTraits {};
|
||||
EdgeTraits {};
|
||||
FaceTraits {};
|
||||
|
||||
VertexAttributes(0);
|
||||
HalfedgeAttributes(Attributes::PrevHalfedge);
|
||||
EdgeAttributes(0);
|
||||
FaceAttributes(0);
|
||||
};
|
||||
Reference in New Issue
Block a user