added pragma message to deprecate this way to define the simplex

This commit is contained in:
ganovelli 2008-09-28 14:30:09 +00:00
parent a2e3e5b725
commit b5bca977a7
2 changed files with 9 additions and 2 deletions

View File

@ -154,10 +154,14 @@ First commit...
****************************************************************************/
#pragma message("[VCGLIB Warning] this way to define the simplex face is DEPRECATED ")
#pragma message("[VCGLIB Warning] use vcg/simplex/faceplus instead ")
#ifndef FACE_TYPE
#pragma error message("\nYou should never directly include this file\_n")
#pragma error message("\nYou should never directly include this file\n")
#else
#include <vcg/math/base.h>
#include <vcg/space/box3.h>
#include <vcg/space/texcoord2.h>

View File

@ -175,11 +175,14 @@ Edited Comments and GPL license
****************************************************************************/
#pragma message("[VCGLIB Warning] This way to define the simplex vertex is DEPRECATED ")
#pragma message("[VCGLIB Warning] use vcg/simplex/vertexplus instead ")
#ifndef VERTEX_TYPE
#pragma message("\nYou should never directly include this file\_n")
#pragma message("\nYou should never directly include this file\n")
#else
#include<vcg/space/point3.h>
#include<vcg/space/color4.h>
#include<vcg/space/texcoord2.h>