added pragma message to deprecate this way to define the simplex
This commit is contained in:
parent
a2e3e5b725
commit
b5bca977a7
|
@ -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
|
#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
|
#else
|
||||||
|
|
||||||
|
|
||||||
#include <vcg/math/base.h>
|
#include <vcg/math/base.h>
|
||||||
#include <vcg/space/box3.h>
|
#include <vcg/space/box3.h>
|
||||||
#include <vcg/space/texcoord2.h>
|
#include <vcg/space/texcoord2.h>
|
||||||
|
|
|
@ -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
|
#ifndef VERTEX_TYPE
|
||||||
#pragma message("\nYou should never directly include this file\_n")
|
#pragma message("\nYou should never directly include this file\n")
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
||||||
#include<vcg/space/point3.h>
|
#include<vcg/space/point3.h>
|
||||||
#include<vcg/space/color4.h>
|
#include<vcg/space/color4.h>
|
||||||
#include<vcg/space/texcoord2.h>
|
#include<vcg/space/texcoord2.h>
|
||||||
|
|
Loading…
Reference in New Issue